8 lines
173 B
TypeScript
8 lines
173 B
TypeScript
export declare class Lazy<T> {
|
|
private _value;
|
|
private creator;
|
|
constructor(creator: () => Promise<T>);
|
|
readonly hasValue: boolean;
|
|
value: Promise<T>;
|
|
}
|