Nocturnal Pajama Mutants

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

    Keywords

    none

    Install

    npm i lazy-val

    DownloadsWeekly Downloads

    677,194

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    2.58 kB

    Total Files

    5

    Last publish

    Collaborators

    • develar