source: trip-planner-front/node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 566 bytes
Line 
1import { InnerSubscriber } from '../InnerSubscriber';
2import { subscribeTo } from './subscribeTo';
3import { Observable } from '../Observable';
4export function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber = new InnerSubscriber(outerSubscriber, outerValue, outerIndex)) {
5 if (innerSubscriber.closed) {
6 return undefined;
7 }
8 if (result instanceof Observable) {
9 return result.subscribe(innerSubscriber);
10 }
11 return subscribeTo(result)(innerSubscriber);
12}
13//# sourceMappingURL=subscribeToResult.js.map
Note: See TracBrowser for help on using the repository browser.