A cache wrapper around an asynchronous function that stores the result
for a specified timeout period. Subsequent calls within the timeout
return the cached value instead of invoking the function again.
Type Parameters
T
The type of the value returned by the wrapped function.
A cache wrapper around an asynchronous function that stores the result for a specified timeout period. Subsequent calls within the timeout return the cached value instead of invoking the function again.