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

ColdObservable.d.ts 783B

1234567891011121314151617181920
  1. import { Observable } from '../Observable';
  2. import { Scheduler } from '../Scheduler';
  3. import { TestMessage } from './TestMessage';
  4. import { SubscriptionLog } from './SubscriptionLog';
  5. import { SubscriptionLoggable } from './SubscriptionLoggable';
  6. import { Subscriber } from '../Subscriber';
  7. /**
  8. * We need this JSDoc comment for affecting ESDoc.
  9. * @ignore
  10. * @extends {Ignored}
  11. */
  12. export declare class ColdObservable<T> extends Observable<T> implements SubscriptionLoggable {
  13. messages: TestMessage[];
  14. subscriptions: SubscriptionLog[];
  15. scheduler: Scheduler;
  16. logSubscribedFrame: () => number;
  17. logUnsubscribedFrame: (index: number) => void;
  18. constructor(messages: TestMessage[], scheduler: Scheduler);
  19. scheduleMessages(subscriber: Subscriber<any>): void;
  20. }