p-memoize
Function caching library
Memoizes promise-returning and async functions to cache consecutive function calls by storing results of identical input.
Memoize promise-returning & async functions
396 stars
8 watching
30 forks
Language: TypeScript
last commit: over 1 year ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
sindresorhus/memoize | Caches function results to speed up repeated calls with identical inputs | 1,089 |
nodeca/promise-memoize | A utility for caching and optimizing promise-returning functions with optional expire times and prefetching capabilities. | 60 |
sindresorhus/p-pipe | Creates a reusable pipeline of promise-returning functions to compose and chain together multiple asynchronous operations. | 122 |
sindresorhus/p-all | Concurrently execute multiple promise-returning functions with optional concurrency limits. | 315 |
melpon/memoize | A caching macro for Elixir that uses CAS on ETS to optimize function calls | 189 |
sindresorhus/p-map-series | Serializes promise-based operations to ensure predictable order and execution of side effects. | 47 |
sindresorhus/p-times | Runs promise-returning & async functions multiple times concurrently | 38 |
sindresorhus/p-some | Wait for a specified number of promises to be fulfilled | 36 |
sindresorhus/p-map | A utility for mapping over promises concurrently while controlling concurrency and error handling. | 1,292 |
sindresorhus/p-filter | Tool for filtering and concurrent execution of promises with an adjustable concurrency level | 72 |
sindresorhus/p-debounce | Debounces promise-returning & async functions to delay their execution until after a specified wait period has elapsed since the last call. | 211 |
sindresorhus/pify | Promises utility to convert callback-style functions into promise-based versions. | 1,506 |
sindresorhus/p-event | Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. | 429 |
sindresorhus/p-reduce | Transforms an asynchronous list into a single value by applying a reduction function | 68 |
sindresorhus/p-any | A utility function to wait for any of multiple promises to be fulfilled with cancellation support. | 55 |