Function cacheForSync

  • A crude caching system that will cache values for the given time.

    Type Parameters

    • T

    Parameters

    • options: CacheForOptions

      See CacheForOptions.

    • generator: (() => T)

      The function that returns the cached value.

        • (): T
        • Returns T

    Returns T

Generated using TypeDoc