lazy-val
v1.0.3lazy-val
Lazy value.
class Lazy<T> {
constructor(creator: () => Promise<T>)
readonly hasValue: boolean
value: Promise<T>
}
npm i [email protected]
Metadata
- MIT
- Whatever
- Vladimir Krivosheev
- released 12/6/2017
Lazy value.
class Lazy<T> {
constructor(creator: () => Promise<T>)
readonly hasValue: boolean
value: Promise<T>
}