lazy-val
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

lazy-val

Lazy value.

class Lazy<T> {
    constructor(creator: () => Promise<T>)
    readonly hasValue: boolean
    value: Promise<T>
}

Readme

Keywords

none

Package Sidebar

Install

npm i lazy-val

Weekly Downloads

283,331

Version

1.0.5

License

MIT

Unpacked Size

2.58 kB

Total Files

5

Last publish

Collaborators

  • develar