Optional
onThis optional method is called on every cache hit.
Note that since params
were used when creating the watcher
- you can
use them in watcher
API methods and in getAffectedPaths
.
the previously created IWatcher
object created with
watchAll(params)
API method.
an array of parameters from the previous cached call.
Optional
onThis optional method is called on every cache miss.
Note that since params
were used when creating the watcher
- you can
use them in watcher
API methods and in getAffectedPaths
.
the newly created IWatcher
object created with
watchAll(params)
API method.
an array of parameters that generated the cache miss.
Optional
pastParams: Paramsan array of parameters from the previous cache miss.
Generated using TypeDoc
Options for
memoize()
method.See
memoize for additional details.