take

takes the first n values from a stream or until cancelled

take
(
Stream
)
(
Stream stream
,
size_t n
)
if (
models!(Stream, isStream)
)

Meta