Type Parameters

  • T

Hierarchy

Properties

context?: any
multiArgs?: boolean
suffix?: string

Methods

  • Parameters

    • name: string
    • func: ((...args: any[]) => any)
        • (...args: any[]): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    • Optional target: any
    • Optional passesDefaultFilter: boolean

    Returns boolean

  • The promisifier gets a reference to the original method and should return a function which returns a promise

    Parameters

    • this: T
    • originalMethod: ((...args: any[]) => any)
        • (...args: any[]): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    • defaultPromisifer: ((...args: any[]) => ((...args: any[]) => Bluebird<any>))
        • (...args: any[]): ((...args: any[]) => Bluebird<any>)
        • Parameters

          • Rest ...args: any[]

          Returns ((...args: any[]) => Bluebird<any>)

            • (...args: any[]): Bluebird<any>
            • Parameters

              • Rest ...args: any[]

              Returns Bluebird<any>

    Returns (() => PromiseLike<any>)

      • (): PromiseLike<any>
      • The promisifier gets a reference to the original method and should return a function which returns a promise

        Returns PromiseLike<any>