Memoza
Description
Like _.memoize
this one allows to cache functions and
stores the results in FS.
Configuration
const memoza = ;const wrapper = ;
- Remembers cb's arguments
const func = { ;}const wrapped = ;; //will log "1234" in 10 seconds// ...once cb called; //will log "1234" without delay
- Remembers Promise resolution value
const func = { return { ; };}const wrapped = ;; //will log "1234" in 10 seconds; // ...once promise has been resolved it will log "1234"