list<T> static method

ForkJoinStream<T, List<T>> list<T>(
  1. Iterable<Stream<T>> streams
)

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,
    );