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

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc