StreamExtensions<T> extension
Null safety
Utility extensions on Stream.
- on
-
- Stream<
T>
- Stream<
Properties
-
firstOrNull
→ Future<
T?> -
A future which completes with the first event of this stream, or with
null
.read-only