Class: LazyValue<T>
Type parameters
Name |
---|
T |
Accessors
hasComputed
• get
hasComputed(): boolean
Returns
boolean
Constructors
constructor
• new LazyValue<T
>(callable
): LazyValue
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
callable | () => Promise <T > |
Returns
LazyValue
<T
>
Methods
get
▸ get(): Promise
<T
>
Returns
Promise
<T
>