Module "operators/switch-tap"
Functions
switchTap
- switchTap<T, O>(project: (value: T, index: number) => O): MonoTypeOperatorFunction<T>
-
Type parameters
-
T
-
O: ObservableInput<any>
Parameters
-
project: (value: T, index: number) => O
-
- (value: T, index: number): O
Returns MonoTypeOperatorFunction<T>
Behaves exactly like
switchMap
, except that it maps all values back to the initial value.