Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm5 / internal / util / canReportError.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm5/internal/util/canReportError.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm5/internal/util/canReportError.js
new file mode 100644 (file)
index 0000000..954fc15
--- /dev/null
@@ -0,0 +1,18 @@
+/** PURE_IMPORTS_START _Subscriber PURE_IMPORTS_END */
+import { Subscriber } from '../Subscriber';
+export function canReportError(observer) {
+    while (observer) {
+        var _a = observer, closed_1 = _a.closed, destination = _a.destination, isStopped = _a.isStopped;
+        if (closed_1 || isStopped) {
+            return false;
+        }
+        else if (destination && destination instanceof Subscriber) {
+            observer = destination;
+        }
+        else {
+            observer = null;
+        }
+    }
+    return true;
+}
+//# sourceMappingURL=canReportError.js.map