Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
982 bytes
|
Line | |
---|
1 | import { Subject } from './Subject';
|
---|
2 | import { SchedulerLike } from './types';
|
---|
3 | import { Subscriber } from './Subscriber';
|
---|
4 | import { Subscription } from './Subscription';
|
---|
5 | /**
|
---|
6 | * A variant of Subject that "replays" or emits old values to new subscribers.
|
---|
7 | * It buffers a set number of values and will emit those values immediately to
|
---|
8 | * any new subscribers in addition to emitting new values to existing subscribers.
|
---|
9 | *
|
---|
10 | * @class ReplaySubject<T>
|
---|
11 | */
|
---|
12 | export declare class ReplaySubject<T> extends Subject<T> {
|
---|
13 | private scheduler?;
|
---|
14 | private _events;
|
---|
15 | private _bufferSize;
|
---|
16 | private _windowTime;
|
---|
17 | private _infiniteTimeWindow;
|
---|
18 | constructor(bufferSize?: number, windowTime?: number, scheduler?: SchedulerLike);
|
---|
19 | private nextInfiniteTimeWindow;
|
---|
20 | private nextTimeWindow;
|
---|
21 | /** @deprecated This is an internal implementation detail, do not use. */
|
---|
22 | _subscribe(subscriber: Subscriber<T>): Subscription;
|
---|
23 | _getNow(): number;
|
---|
24 | private _trimBufferThenGetEvents;
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.