concat<T> function

Observable<T> concat<T>(
  1. Iterable<Observable<T>> observables, {
  2. Scheduler? scheduler,
})

Subscribe to the list of Observable in order, and when the previous one complete then subscribe to the next one.

Implementation

Observable<T> concat<T>(Iterable<Observable<T>> observables,
        {Scheduler? scheduler}) =>
    observables
        .toObservable(scheduler: scheduler)
        .mergeMap(identityFunction, concurrent: 1);