list<T> static method
Constructs a Stream that awaits the last values of the Streams
in streams
and then emits these values as a List.
After this event, the Stream closes.
Implementation
static ForkJoinStream<T, List<T>> list<T>(
Iterable<Stream<T>> streams,
) =>
ForkJoinStream<T, List<T>>(
streams,
(values) => values,
);