Function memoize

  • Generate result-cached version of an async function.

    Parameters

    • x: Function

      an async function

    • fr: Resolver = null

      async resolver ((...args) => unique key) [IDENTITY]

    • cache: Map<any, any> = null

      result cache [Map()]

    Returns Function

Generated using TypeDoc