BufferCountWindowExtensions<T> extension
- on
-
- Stream<
T>
- Stream<
Methods
-
bufferCountTimeout(
int count, Duration timeout, {dynamic ignoreEmptyWindows = true}) → Stream< List< T> > -
Available on Stream<
Buffers the stream and emits the buffer when EITHER: a) the number of elements reachesT> , provided by the BufferCountWindowExtensions extensioncount, OR b) a periodictimeoutoccurs -
bufferCountWindow(
int count, Stream window, {dynamic ignoreEmptyWindows = true}) → Stream< List< T> > -
Available on Stream<
Buffers the stream and emits the buffer when EITHER: a) the number of elements reachesT> , provided by the BufferCountWindowExtensions extensioncount, OR b) thewindowStream emits