list<T> static method

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

Constructs a CombineLatestStream using a default combiner, which simply yields a List of all latest events emitted by the provided Iterable of Stream.

Implementation

static CombineLatestStream<T, List<T>> list<T>(
  Iterable<Stream<T>> streams,
) =>
    CombineLatestStream<T, List<T>>(
      streams,
      (List<T> values) => values,
    );