Runlet.Cmd.Take (runlet v1.2.7)

View Source

Take a number of events from the stream

Summary

Functions

Takes count events from the stream and terminates the stream.

Functions

exec(stream, count)

@spec exec(Enumerable.t(), integer()) :: Enumerable.t()

Takes count events from the stream and terminates the stream.