python-diskcache icon indicating copy to clipboard operation
python-diskcache copied to clipboard

[Feature Request] memoize_stampede with asyncio support

Open yeus opened this issue 4 years ago • 0 comments

we can not use memoize_stampede on async functions right now. This feature would be appreciated. There is a feature request for moize: https://github.com/grantjenks/python-diskcache/pull/196/commits/3a6ae4bd282ca98bc967c4868da9f1a28aa1603c. But memoize_stampede seems to be a bit more involved than that example? would it be enough to simply replace the wrapper in it with an async def wrapper just like in the above pull request?

yeus avatar Dec 02 '21 20:12 yeus