forkJoin<T> function

Observable<List<T>> forkJoin<T>(
  1. List<Observable<T>> sources
)

Waits for all passed Observable to complete and then it will emit an list with last values from corresponding observables.

Implementation

Observable<List<T>> forkJoin<T>(List<Observable<T>> sources) => sources.isEmpty
    ? empty() as Observable<List<T>>
    : ForkJoinObservable<T>(sources);