HotObservable.d.ts 879 B

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