Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
649 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | var Subscriber_1 = require("../Subscriber");
|
---|
4 | function canReportError(observer) {
|
---|
5 | while (observer) {
|
---|
6 | var _a = observer, closed_1 = _a.closed, destination = _a.destination, isStopped = _a.isStopped;
|
---|
7 | if (closed_1 || isStopped) {
|
---|
8 | return false;
|
---|
9 | }
|
---|
10 | else if (destination && destination instanceof Subscriber_1.Subscriber) {
|
---|
11 | observer = destination;
|
---|
12 | }
|
---|
13 | else {
|
---|
14 | observer = null;
|
---|
15 | }
|
---|
16 | }
|
---|
17 | return true;
|
---|
18 | }
|
---|
19 | exports.canReportError = canReportError;
|
---|
20 | //# sourceMappingURL=canReportError.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.