switchMapTo.js 349 B

123456
  1. /** PURE_IMPORTS_START _switchMap PURE_IMPORTS_END */
  2. import { switchMap } from './switchMap';
  3. export function switchMapTo(innerObservable, resultSelector) {
  4. return resultSelector ? switchMap(function () { return innerObservable; }, resultSelector) : switchMap(function () { return innerObservable; });
  5. }
  6. //# sourceMappingURL=switchMapTo.js.map