Front end of the Slack clone application.

ColdObservable.d.ts 783B

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