Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

canReportError.js 649B

1234567891011121314151617181920
  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