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>
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    354,704
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    354,704
  • 1.0.4
    6,713
  • 1.0.3
    1,218
  • 1.0.2
    443
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i lazy-val

Weekly Downloads

363,080

Version

1.0.5

License

MIT

Unpacked Size

2.58 kB

Total Files

5

Last publish

Collaborators

  • develar