@oazmi/kitchensink - v0.9.13

    Function memorizeOnce

    • memorize the result of a function only once. after that, further calls to the function will not invoke fn anymore, and instead simply return the same memorized value all the time.

      Type Parameters

      • K
      • V

      Parameters

      • fn: (arg: K) => V

      Returns (arg: K) => V

    MMNEPVFCICPMFPCPTTAAATR