Interface CacheInterface<Sub, Act, Obj>

interface CacheInterface<Sub, Act, Obj> {
    clear(): "OK" | Promise<"OK">;
    del(policy): "OK" | Promise<"OK">;
    get(cKey): Policy<Sub, Act, Obj>[] | Promise<Policy<Sub, Act, Obj>[]>;
    has(policy, options?): boolean | Promise<boolean>;
    set(policy): "OK" | Promise<"OK">;
}

Type Parameters

  • Sub = string
  • Act = string
  • Obj = string

Implemented by

Methods

Methods

Generated using TypeDoc