WardrikEvents.Tail (wardrik_events v0.1.0-rc.1)

Copy Markdown

Reads logs back from a cursor, then follows them as they're written.

Each kept event comes once, in order.

Summary

Functions

Streams {event, cursor} after cursor. With nil, starts at what's written next.

Functions

stream(settings, resources, cursor, types)

@spec stream(map(), [String.t()], WardrikEvents.Cursor.t() | nil, [String.t()] | :all) ::
  Enumerable.t()

Streams {event, cursor} after cursor. With nil, starts at what's written next.