项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

16 rivejä
460 B

  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. }