summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/rxjs/internal/util/canReportError.d.ts
blob: 0757e7914a32ad6f6f9bd7940bc76b57f276de8c (plain)
1
2
3
4
5
6
7
8
9
import { Subscriber } from '../Subscriber';
import { Subject } from '../Subject';
/**
 * Determines whether the ErrorObserver is closed or stopped or has a
 * destination that is closed or stopped - in which case errors will
 * need to be reported via a different mechanism.
 * @param observer the observer
 */
export declare function canReportError(observer: Subscriber<any> | Subject<any>): boolean;