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

/lazy-val/

    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