@mvuijs/core / rx / switchMap
switchMap() #
Switch from one Stream to another. This is really useful for robust asynchronous reactivity. It is analogous to the RxJS operator of the same name. There are a million explanations of what it does already online which will explain better then any docstring here could.
See #
- http
- https://rxjs.dev/api/operators/switchMap
- https://blog.angular-university.io/rxjs-switchmap-operator/
- https://youtu.be/Byttv3YpjQk?si=diaiWakSuzCPrSJM&t=528
Signature #
switchMap<T, O>(project: Function): OperatorFunction<T, O>;
Type parameters #
T
O
Parameters #
Name | Type |
---|---|
project |
(value : T ) =>
StreamInput
<O > |
Returns #
OperatorFunction
<T
, O
>
Defined in: packages/core/src/rx/operators/switchMap.ts:17