Opal-Estate-Pro/node_modules/rxjs/ReplaySubject.d.ts
2019-09-13 09:44:33 +07:00

19 lines
625 B
TypeScript

import { Subject } from './Subject';
import { IScheduler } 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?: IScheduler);
next(value: T): void;
/** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): Subscription;
_getNow(): number;
private _trimBufferThenGetEvents();
}