ReplaySubject.d.ts
596 Bytes
import { Subject } from './Subject';
import { Scheduler } from './Scheduler';
import { Subscriber } from './Subscriber';
import { Subscription } from './Subscription';
/**
* @class ReplaySubject<T>
*/
export declare class ReplaySubject<T> extends Subject<T> {
private scheduler;
private _events;
private _bufferSize;
private _windowTime;
constructor(bufferSize?: number, windowTime?: number, scheduler?: Scheduler);
next(value: T): void;
protected _subscribe(subscriber: Subscriber<T>): Subscription;
_getNow(): number;
private _trimBufferThenGetEvents();
}