work.suroh.tk/node_modules/rxjs/AsyncSubject.d.ts

16 lines
460 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import { Subject } from './Subject';
import { Subscriber } from './Subscriber';
import { Subscription } from './Subscription';
/**
* @class AsyncSubject<T>
*/
export declare class AsyncSubject<T> extends Subject<T> {
private value;
private hasNext;
private hasCompleted;
/** @deprecated internal use only */ _subscribe(subscriber: Subscriber<any>): Subscription;
next(value: T): void;
error(error: any): void;
complete(): void;
}