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:
721 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo,_Observable PURE_IMPORTS_END */
|
---|
| 2 | import { InnerSubscriber } from '../InnerSubscriber';
|
---|
| 3 | import { subscribeTo } from './subscribeTo';
|
---|
| 4 | import { Observable } from '../Observable';
|
---|
| 5 | export function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber) {
|
---|
| 6 | if (innerSubscriber === void 0) {
|
---|
| 7 | innerSubscriber = new InnerSubscriber(outerSubscriber, outerValue, outerIndex);
|
---|
| 8 | }
|
---|
| 9 | if (innerSubscriber.closed) {
|
---|
| 10 | return undefined;
|
---|
| 11 | }
|
---|
| 12 | if (result instanceof Observable) {
|
---|
| 13 | return result.subscribe(innerSubscriber);
|
---|
| 14 | }
|
---|
| 15 | return subscribeTo(result)(innerSubscriber);
|
---|
| 16 | }
|
---|
| 17 | //# sourceMappingURL=subscribeToResult.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.