async-memo
Call a function at most once and remember the result. Args are not supported.
Example
var memo = var doc = // You can safely call doc() from everywhere at any time.// fetch() will be called only once.
Installation
via component
component install eldargab/async-memo
via npm
npm install async-memo
License
MIT