TimeoutCallback: ((key?, value?) => void)

Type definition for a timeout callback.

Type declaration

    • (key?, value?): void
    • Parameters

      • Optional key: string | number

        The key of the cache item.

      • Optional value: any

        The value of the cache item.

      Returns void

Returns