util_memoize_cached_p (public)
util_memoize_cached_p script [ max_age ]
Defined in packages/acs-tcl/tcl/memoize-procs-naviserver.tcl
Check whether script's value has been cached, and whether it was cached no more than max_age seconds ago.
- Parameters:
- script (required)
- A Tcl script.
- max_age (optional)
- Maximum age of cached value in seconds.
- Returns:
- Boolean value.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- util_memoize_cache, util_memoize_cache_script, util_memoize_cache_flush