Member Junction
    Preparing search index...

    A bounded, promise-sharing LRU of decoded PCM.

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Returns the cached PCM for key, or runs load once and caches its result. Concurrent callers for the same key share one load. A rejected load is removed so the next call retries.

      Parameters

      • key: string
      • load: () => Promise<Int16Array<ArrayBufferLike>>

      Returns Promise<Int16Array<ArrayBufferLike>>