1 | export interface ILazyObservable<T> {
|
2 | current(): T;
|
3 | refresh(): T;
|
4 | reset(): T;
|
5 | pending: boolean;
|
6 | }
|
7 | export declare function lazyObservable<T>(fetch: (sink: (newValue: T) => void) => void): ILazyObservable<T | undefined>;
|
8 | export declare function lazyObservable<T>(fetch: (sink: (newValue: T) => void) => void, initialValue: T): ILazyObservable<T>;
|