powered by
Store a value in memory
memory_cache(x)
Value to be stored
A function that returns a value stored in memory
Other cache: clear_cache, fail_cache, make_cacher, make_recacher, no_cache, void_cache
clear_cache
fail_cache
make_cacher
make_recacher
no_cache
void_cache
# NOT RUN { foo <- 45 foo_proxy <- memory_cache(foo) foo foo_proxy@get() # }
Run the code above in your browser using DataLab