slide

slides a window over a stream, emitting all items in the window as an array. The array is reused so you must duplicate if you want to access it beyond the stream.

slide
(
Stream
)
(
Stream stream
,
size_t window
,
size_t step = 1
)
if (
models!(Stream, isStream)
)

Meta