BACK
ReferencemergeAll
Reference · 75

mergeAll

Flattens inner Observables in parallel.

Signature

mergeAll(concurrent?: number): OperatorFunction, T>

What it does

Subscribes to inner Observables as they appear and merges their values into one stream. You can cap concurrent.

When to use

When outer already holds Observables and you just need to merge them into one stream without an extra map.

See also

mergeMap, concatAll, switchAll

script.ts // TypeScript
CONSOLE · Console output
Hit Run to see the result...