-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
in progressThings being worked onThings being worked onnew featureThis PR adds a new function or extends an existing oneThis PR adds a new function or extends an existing one
Description
Anyone is free to implement this proposal. Note that promiseMemo is the preferred name.
Discussed in https://github.com/orgs/radashi-org/discussions/200
Originally posted by aleclarson August 19, 2024
Basically memo but rejected promises are not cached. Note that the "memo key" algorithm must be identical between memo and memoAsync.
Reference implementation: https://github.com/sindresorhus/p-memoize
Metadata
Metadata
Assignees
Labels
in progressThings being worked onThings being worked onnew featureThis PR adds a new function or extends an existing oneThis PR adds a new function or extends an existing one
Type
Projects
Status
In Progress