Function cache

  • Can be used as a decorator on any function or method to memoize its results. NOTE: By default the given function is memoized using it's first argument, regardless of others.

    Returns

    A memoized version of the given function

    Parameters

    • target: any
    • name: any
    • descriptor: any

    Returns any

Generated using TypeDoc