• memorize the return value of a single parameter function. further calls with memorized arguments will return the value much quicker.

    Type Parameters

    • V
    • K

    Parameters

    • fn: ((arg) => V)
        • (arg): V
        • Parameters

          • arg: K

          Returns V

    Returns ((arg) => V)

      • (arg): V
      • Parameters

        • arg: K

        Returns V

Generated using TypeDoc