source: trip-planner-front/node_modules/rxjs/internal/util/subscribeToResult.js@ 188ee53

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

initial commit

  • Property mode set to 100644
File size: 788 bytes
RevLine 
[6a3a178]1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var InnerSubscriber_1 = require("../InnerSubscriber");
4var subscribeTo_1 = require("./subscribeTo");
5var Observable_1 = require("../Observable");
6function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber) {
7 if (innerSubscriber === void 0) { innerSubscriber = new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex); }
8 if (innerSubscriber.closed) {
9 return undefined;
10 }
11 if (result instanceof Observable_1.Observable) {
12 return result.subscribe(innerSubscriber);
13 }
14 return subscribeTo_1.subscribeTo(result)(innerSubscriber);
15}
16exports.subscribeToResult = subscribeToResult;
17//# sourceMappingURL=subscribeToResult.js.map
Note: See TracBrowser for help on using the repository browser.