UNPKG

173 BTypeScriptView Raw
1export declare class Lazy<T> {
2 private _value;
3 private creator;
4 constructor(creator: () => Promise<T>);
5 readonly hasValue: boolean;
6 value: Promise<T>;
7}