list<T> method

CombineLatestStream<T, List<T>> list <T>(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,
) {
  return CombineLatestStream<T, List<T>>(
    streams,
    (List<T> values) => values,
  );
}