MaxExtension<T> extension
Extends the Stream class with the ability to transform into a Future that completes with the largest item emitted by the Stream.
- on
-
- Stream<
T>
- Stream<
Methods
-
max(
[Comparator< T> ? comparator]) → Future<T> -
Available on Stream<
Converts a Stream into a Future that completes with the largest item emitted by the Stream.T> , provided by the MaxExtension extension