Front end of the Slack clone application.

ReplaySubject.d.ts 625B

12345678910111213141516171819
  1. import { Subject } from './Subject';
  2. import { IScheduler } from './Scheduler';
  3. import { Subscriber } from './Subscriber';
  4. import { Subscription } from './Subscription';
  5. /**
  6. * @class ReplaySubject<T>
  7. */
  8. export declare class ReplaySubject<T> extends Subject<T> {
  9. private scheduler;
  10. private _events;
  11. private _bufferSize;
  12. private _windowTime;
  13. constructor(bufferSize?: number, windowTime?: number, scheduler?: IScheduler);
  14. next(value: T): void;
  15. /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): Subscription;
  16. _getNow(): number;
  17. private _trimBufferThenGetEvents();
  18. }