Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • Is this different than standard memoization where you would memoize the promise of the async method? Such as asyncFunction = memoize(asyncFunction)? This would return at the same promise (for the same parameters) every time, with the same resolved value. (It would also mean that a rejected promise would "throw" every time it was referenced). Commented Mar 29, 2019 at 20:02