Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
788 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | var InnerSubscriber_1 = require("../InnerSubscriber");
|
---|
4 | var subscribeTo_1 = require("./subscribeTo");
|
---|
5 | var Observable_1 = require("../Observable");
|
---|
6 | function 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 | }
|
---|
16 | exports.subscribeToResult = subscribeToResult;
|
---|
17 | //# sourceMappingURL=subscribeToResult.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.