UNPKG

402 BTypeScriptView Raw
1import { Subscriber } from '../Subscriber';
2import { Subject } from '../Subject';
3/**
4 * Determines whether the ErrorObserver is closed or stopped or has a
5 * destination that is closed or stopped - in which case errors will
6 * need to be reported via a different mechanism.
7 * @param observer the observer
8 */
9export declare function canReportError(observer: Subscriber<any> | Subject<any>): boolean;