5 lines
258 B
JavaScript
5 lines
258 B
JavaScript
|
import { switchMap } from './switchMap';
|
||
|
export function switchMapTo(innerObservable, resultSelector) {
|
||
|
return resultSelector ? switchMap(() => innerObservable, resultSelector) : switchMap(() => innerObservable);
|
||
|
}
|
||
|
//# sourceMappingURL=switchMapTo.js.map
|