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:
597 bytes
|
Line | |
---|
1 | import { Subject } from './Subject';
|
---|
2 | import { Subscriber } from './Subscriber';
|
---|
3 | import { Subscription } from './Subscription';
|
---|
4 | /**
|
---|
5 | * A variant of Subject that requires an initial value and emits its current
|
---|
6 | * value whenever it is subscribed to.
|
---|
7 | *
|
---|
8 | * @class BehaviorSubject<T>
|
---|
9 | */
|
---|
10 | export declare class BehaviorSubject<T> extends Subject<T> {
|
---|
11 | private _value;
|
---|
12 | constructor(_value: T);
|
---|
13 | readonly value: T;
|
---|
14 | /** @deprecated This is an internal implementation detail, do not use. */
|
---|
15 | _subscribe(subscriber: Subscriber<T>): Subscription;
|
---|
16 | getValue(): T;
|
---|
17 | next(value: T): void;
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.