Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

SubjectSubscription.d.ts 444B

123456789101112131415
  1. import { Subject } from './Subject';
  2. import { Observer } from './types';
  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. }