Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ObjectCacheMethod

Hierarchy

  • ObjectCacheMethod

Callable

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

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

    Returns Promise<any>

Generated using TypeDoc