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.

    Parameters

    • obj: any

      {Object}

    • callbacks: string[]

      {Array}

    Returns void

    Method

    callbackify