Produces a function which caches the result of an asynchronous computation in the supplied Cache.
Produces a function which caches the result of an asynchronous computation in the supplied Cache.
Does not guarantee that fn
will be computed exactly once for each key.