work.suroh.tk/node_modules/rxjs/ReplaySubject.d.ts

19 lines
625 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
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();
}