UNPKG
@push.rocks/smartcache
Version:
latest (1.0.16)
1.0.16
cache things in smart ways
@push.rocks/smartcache
/
dist_ts
/
smartcache.classes.smartcache.d.ts
5 lines
(4 loc)
•
158 B
TypeScript
View Raw
1
2
3
4
5
export
declare
class
SmartCache
{
private
_cacheManager;
cacheReturn
(
asyncCachedFuncArg
:
() =>
Promise
<
any
>,
cacheDuration
?:
number
):
Promise
<
any
>; }