BufferCountWindowExtensions<T> extension
- on
-
- Stream<
T>
- Stream<
Methods
-
bufferCountTimeout(
int count, Duration timeout, {dynamic ignoreEmptyWindows = true}) → Stream< List< T> > -
Buffers the stream and emits the buffer when EITHER:
a) the number of elements reaches
count
, OR b) a periodictimeout
occurs -
bufferCountWindow(
int count, Stream window, {dynamic ignoreEmptyWindows = true}) → Stream< List< T> > -
Buffers the stream and emits the buffer when EITHER:
a) the number of elements reaches
count
, OR b) thewindow
Stream emits