Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ObjectCacheMethod

Hierarchy

  • ObjectCacheMethod

Callable

  • __call(argument: { cacheDurationMs?: number; cacheKey: CacheKey; lock?: boolean; objectGuid: string; passthru?: boolean; read?: boolean; write?: boolean }, methodToGetValue: () => Promise<any>): Promise<any>
  • Parameters

    • argument: { cacheDurationMs?: number; cacheKey: CacheKey; lock?: boolean; objectGuid: string; passthru?: boolean; read?: boolean; write?: boolean }
      • Optional cacheDurationMs?: number
      • cacheKey: CacheKey
      • Optional lock?: boolean
      • objectGuid: string
      • Optional passthru?: boolean
      • Optional read?: boolean
      • Optional write?: boolean
    • methodToGetValue: () => Promise<any>
        • (): Promise<any>
        • Returns Promise<any>

    Returns Promise<any>

Generated using TypeDoc