Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Cache

Index

Methods

Methods

wrap

  • wrap<T>(key: string, wrapper: (callback: (error: any, result: T) => void) => any, options: CacheConfig): Promise<any>
  • Type parameters

    • T

    Parameters

    • key: string
    • wrapper: (callback: (error: any, result: T) => void) => any
        • (callback: (error: any, result: T) => void): any
        • Parameters

          • callback: (error: any, result: T) => void
              • (error: any, result: T): void
              • Parameters

                • error: any
                • result: T

                Returns void

          Returns any

    • options: CacheConfig

    Returns Promise<any>

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Static method

Generated using TypeDoc