Bones/node_modules/rxjs/subject/ReplaySubject.d.ts

16 lines
595 B
TypeScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
import { Subject } from '../Subject';
import { Scheduler } from '../Scheduler';
import { Subscriber } from '../Subscriber';
import { Subscription } from '../Subscription';
export declare class ReplaySubject<T> extends Subject<T> {
private events;
private scheduler;
private bufferSize;
private _windowTime;
constructor(bufferSize?: number, windowTime?: number, scheduler?: Scheduler);
protected _next(value: T): void;
protected _subscribe(subscriber: Subscriber<T>): Subscription | Function | void;
private _getNow();
private _trimBufferThenGetEvents(now);
}