async-cache
info: | A caching solution for asyncio |
---|
Installation
pip install async-cache
Basic Usage
from cache import AsyncLRU
@AsyncLRU(maxsize=128)
async def func(*args, **kwargs):
pass
Supports primitive as well as non-primitive function parameter.
Currently only LRU cache is supported.