You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
437 B
14 lines
437 B
import { Subject } from './Subject'; |
|
import { Subscriber } from './Subscriber'; |
|
import { Subscription } from './Subscription'; |
|
/** |
|
* @class BehaviorSubject<T> |
|
*/ |
|
export declare class BehaviorSubject<T> extends Subject<T> { |
|
private _value; |
|
constructor(_value: T); |
|
readonly value: T; |
|
/** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): Subscription; |
|
getValue(): T; |
|
next(value: T): void; |
|
}
|
|
|