SubjectSubscription.d.ts 447B

12345678910111213141516
  1. import { Subject } from './Subject';
  2. import { Observer } from './Observer';
  3. import { Subscription } from './Subscription';
  4. /**
  5. * We need this JSDoc comment for affecting ESDoc.
  6. * @ignore
  7. * @extends {Ignored}
  8. */
  9. export declare class SubjectSubscription<T> extends Subscription {
  10. subject: Subject<T>;
  11. subscriber: Observer<T>;
  12. closed: boolean;
  13. constructor(subject: Subject<T>, subscriber: Observer<T>);
  14. unsubscribe(): void;
  15. }