Interface CacheInterface<Sub, Act, Obj>
Type Parameters
- Sub = string
- Act = string
- Obj = string
Methods
clear
- clear(): "OK" | Promise<"OK">
Returns "OK" | Promise<"OK">
del
- del(policy): "OK" | Promise<"OK">
Returns "OK" | Promise<"OK">
has
- has(policy, options?): boolean | Promise<boolean>
Returns boolean | Promise<boolean>
set
- set(policy): "OK" | Promise<"OK">
Returns "OK" | Promise<"OK">