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.
19 lines
665 B
19 lines
665 B
2 years ago
|
import { IScheduler } from '../Scheduler';
|
||
|
import { Observable } from '../Observable';
|
||
|
import { Subscriber } from '../Subscriber';
|
||
|
import { TeardownLogic } from '../Subscription';
|
||
|
/**
|
||
|
* We need this JSDoc comment for affecting ESDoc.
|
||
|
* @extends {Ignored}
|
||
|
* @hide true
|
||
|
*/
|
||
|
export declare class ScalarObservable<T> extends Observable<T> {
|
||
|
value: T;
|
||
|
private scheduler;
|
||
|
static create<T>(value: T, scheduler?: IScheduler): ScalarObservable<T>;
|
||
|
static dispatch(state: any): void;
|
||
|
_isScalar: boolean;
|
||
|
constructor(value: T, scheduler?: IScheduler);
|
||
|
/** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): TeardownLogic;
|
||
|
}
|