flatMap

const deprecated

Deprecation Notes

Renamed to mergeMap. Will be removed in v8.

const flatMap: { <T, O extends ObservableInput<any>>(project: (value: T, index: number) => O, concurrent?: number): OperatorFunction<T, ObservedValueOf<O>>; <T, O extends ObservableInput<...>>(project: (value: T, index: number) => O, resultSelector: undefined, concurrent?: number): OperatorFunction<...>; <T, R, O extends Observabl...;

© 2015–2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/operators/flatMap