StreamExtensions<T> extension

Utility extensions on Stream.

on

Properties

firstOrNull Future<T?>
A future which completes with the first event of this stream, or with null.
no setter

Methods

slices(int length) Stream<List<T>>
Creates a stream whose elements are contiguous slices of this.