common-stuff
    Preparing search index...

    Type Alias Cached<F>

    Cached: F & { clear(): void; delete(...args: Parameters<F>): void }

    A cached version of a function with management methods attached.

    Type Parameters

    • F extends (...args: any[]) => any

    Type Declaration

    • clear: function
      • Drops every memoized result.

        Returns void

    • delete: function
      • Drops the memoized result for a specific argument set.

        Parameters

        • ...args: Parameters<F>

        Returns void