• Explicitly writes a value into the cache.

    Type Parameters

    • T = unknown

      is the type of the value to cache

    Parameters

    • ref: object

      the reference

    • key: string

      the storage key

    • value: T

      the value

    Returns void