7 lines
349 B
JavaScript
7 lines
349 B
JavaScript
/** PURE_IMPORTS_START _switchMap PURE_IMPORTS_END */
|
|
import { switchMap } from './switchMap';
|
|
export function switchMapTo(innerObservable, resultSelector) {
|
|
return resultSelector ? switchMap(function () { return innerObservable; }, resultSelector) : switchMap(function () { return innerObservable; });
|
|
}
|
|
//# sourceMappingURL=switchMapTo.js.map
|