Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
566 bytes
|
Line | |
---|
1 | import { InnerSubscriber } from '../InnerSubscriber';
|
---|
2 | import { subscribeTo } from './subscribeTo';
|
---|
3 | import { Observable } from '../Observable';
|
---|
4 | export 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.