issues
search
sindresorhus
/
p-memoize
Memoize promise-returning & async functions
MIT License
396
stars
30
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
how to memoize by result?
#57
javeoff
opened
5 months ago
1
`cache` type only takes `unknown` as key
#56
fregante
opened
11 months ago
2
Cache and pMemoizeClear bug
#55
nikashitsa
opened
1 year ago
8
Move `type-fest` to development dependencies
#54
mahnunchik
closed
1 year ago
2
Export "in-flight only memoizer"
#53
fregante
opened
1 year ago
5
Ensure `pMemoizeDecorator` works with TypeScript 5.0
#52
fregante
opened
1 year ago
0
Missing type-fest package in package.json
#51
marcinbien
closed
2 years ago
0
Remove the reference to the additional mem options
#50
fungiboletus
closed
2 years ago
0
Allow the cache to be disabled
#49
Richienb
closed
2 years ago
0
Allow `.set()` to be async, only cache promises until they resolve, synchronously cache pending promises and remove `cachePromiseRejection`
#48
Richienb
closed
2 years ago
7
Fix the memory leak in `promiseCache`
#47
mdawar
closed
2 years ago
15
`pMemoizeDecorator` is using the same `cache` instance when using a custom cache
#46
mdawar
closed
2 years ago
0
Export types
#45
mdawar
closed
2 years ago
0
Fix example usage copied from mem
#44
transitive-bullshit
closed
2 years ago
0
Option to limit concurrent invocations?
#43
mmkal
closed
2 years ago
4
Cannot find module 'p-memoize'
#42
hisham
closed
2 years ago
3
Use maximum value for 32-bit signed integer
#41
niksy
closed
2 years ago
0
Miss-leading usage example
#40
zanonnicola
closed
2 years ago
1
while waiting for promise to resolve, maxAge is Number.POSITIVE_INFINITY which breaks mapAgeCleaner
#39
dylang
closed
2 years ago
7
Clarification about maxAge vs expiry-map based time-based cache expiration
#38
mathiasm74
closed
3 years ago
1
Fix consecutive non-awaited calls for version 4
#37
niksy
closed
3 years ago
2
Await all posibly async cache operations
#36
futpib
closed
7 months ago
0
Issue #34 demo (`cached.set` not awaited)
#35
futpib
closed
7 months ago
0
An option to wait for `cache.set` to resolve before resolving the returned promise (or even make this the default behavior)
#34
futpib
closed
2 years ago
4
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module (Node.js v15.14.0)
#33
salisbury-espinosa
closed
3 years ago
1
Only use internal promise cache if a value already exists in `cache`
#32
Richienb
closed
3 years ago
0
v6 is broken due to promiseCache
#31
JaneJeon
closed
3 years ago
12
v6.0.0 - Module not found: Can't resolve 'p-memoize' in create-react-app
#30
cduff
closed
3 years ago
5
4.0.2 is broken?
#29
henhal
closed
3 years ago
15
Type of ReturnType passed to mem options is incorrect
#28
henhal
closed
3 years ago
1
Fix TypeScript type of optional custom cache
#27
henhal
closed
3 years ago
5
Allow cache to be async
#26
Richienb
closed
3 years ago
7
Fix consecutive non awaited calls
#25
krystofwoldrich
closed
3 years ago
2
Fix `maxAge` start on Promise settlement
#24
krystofwoldrich
closed
3 years ago
1
Docs: Add caching strategies and strict equality comparison
#23
fregante
closed
3 years ago
4
`maxAge` starts on function call instead of on fulfillment
#22
krystofwoldrich
closed
3 years ago
2
Replace incorrect info about Primitives with `strict equality` mention
#21
fregante
closed
3 years ago
0
Discard cache after resolution
#20
fregante
closed
2 years ago
14
Feature request: Return stale value while revalidating
#19
futpib
closed
3 years ago
10
Document difference between this module and `mem`
#18
dtinth
closed
3 years ago
2
Move to GitHub Actions
#17
Richienb
closed
3 years ago
0
.clear types are not correct
#16
moltar
closed
4 years ago
3
Add mem's cache key explanation to readme
#15
pdesantis
closed
4 years ago
0
How to get it working TypeScript?
#14
rfgamaral
closed
3 years ago
3
Add `cachePromiseRejection` option
#13
jdiamond
closed
4 years ago
4
Add support for async cache
#12
fregante
closed
4 years ago
5
Add `cachePromiseRejection` option
#11
sindresorhus
closed
4 years ago
0
Just use `mem`
#10
fregante
closed
5 years ago
0
Refactor TypeScript definition to CommonJS compatible export
#8
BendingBender
closed
5 years ago
0
Add TypeScript definition, throw when clearing non-memoized functions
#7
BendingBender
closed
5 years ago
0
Next