Function callbackify

  • Adds callback functionality to an object. Callback functions are indexed by a 'hook' string. They return true if they want to be called again.

    Method

    callbackify

    Parameters

    • obj: any

      {Object}

    • callbacks: string[]

      {Array}

    Returns void

Generated using TypeDoc