123456789101112131415161718192021222324252627 |
- export interface NextObserver<T> {
- closed?: boolean;
- next: (value: T) => void;
- error?: (err: any) => void;
- complete?: () => void;
- }
- export interface ErrorObserver<T> {
- closed?: boolean;
- next?: (value: T) => void;
- error: (err: any) => void;
- complete?: () => void;
- }
- export interface CompletionObserver<T> {
- closed?: boolean;
- next?: (value: T) => void;
- error?: (err: any) => void;
- complete: () => void;
- }
- export declare type PartialObserver<T> = NextObserver<T> | ErrorObserver<T> | CompletionObserver<T>;
- export interface Observer<T> {
- closed?: boolean;
- next: (value: T) => void;
- error: (err: any) => void;
- complete: () => void;
- }
- export declare const empty: Observer<any>;
|