mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-11 00:32:45 +08:00
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>;
|
||
|
}
|