Description Usage Arguments Value
This function wrapper both returns a CachedResult and can
absorb previous CachedResult(s) as arguments to the wrapped function.
1 | cachedCall(..fun.., ...)
|
..fun.. |
The wrapped function whose return value is to be cached.
This should be a pure (side-effects free) function that always returns the
same result value given the same arguments i.e. should be idempotent
(see https://en.wikipedia.org/wiki/Pure_function) such as e.g.
algebraic functions |
... |
Arguments to be passed to |
CachedResult S3 object whose value can be extracted
with function extractVal.
A CachedResult needs to be wrapped by extractVal
if it is used outside cachedCall as
an argument in other functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.