zip<T> function

Observable<List<T>> zip <T>(
  1. Iterable<Observable<T>> iterable,
  2. {Scheduler scheduler}
)

Combines a list of Observable to an Observable whose values are calculated from the next value of each of its inputs.

Implementation

Observable<List<T>> zip<T>(Iterable<Observable<T>> iterable,
        {Scheduler scheduler}) =>
    iterable
        .toObservable(scheduler: scheduler ?? const ImmediateScheduler())
        .zip();