Ask a question to get started
Enter to send•Shift+Enter new line
aset( self, key: str, value: Any, refresh_func: Callable[[],
key
str
value
Any
refresh_func
Callable[[], Awaitable[Any]]
Set a value in the cache.
The cache key (prompt identifier).
The value to cache.
Async function to refresh this cache entry when stale.