AsyncSubject.d.ts 460 B

123456789101112131415
  1. import { Subject } from './Subject';
  2. import { Subscriber } from './Subscriber';
  3. import { Subscription } from './Subscription';
  4. /**
  5. * @class AsyncSubject<T>
  6. */
  7. export declare class AsyncSubject<T> extends Subject<T> {
  8. private value;
  9. private hasNext;
  10. private hasCompleted;
  11. /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<any>): Subscription;
  12. next(value: T): void;
  13. error(error: any): void;
  14. complete(): void;
  15. }