minor adjustment to readme
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm5 / internal / util / canReportError.js
1 /** PURE_IMPORTS_START _Subscriber PURE_IMPORTS_END */
2 import { Subscriber } from '../Subscriber';
3 export function canReportError(observer) {
4     while (observer) {
5         var _a = observer, closed_1 = _a.closed, destination = _a.destination, isStopped = _a.isStopped;
6         if (closed_1 || isStopped) {
7             return false;
8         }
9         else if (destination && destination instanceof Subscriber) {
10             observer = destination;
11         }
12         else {
13             observer = null;
14         }
15     }
16     return true;
17 }
18 //# sourceMappingURL=canReportError.js.map