register(name, response, priority = 0) {
    const index = this._extensions.findIndex(p => p.priority > priority)
    const newExt = { name, response, priority }
    if (index > -1) {
      this._extensions.splice(index, 0, newExt)
    } else {
      this._extensions.push(newExt)
    }
  }
/**
   * Register new extension with this extension point.
   * The registered response will be executed (if callback) or returned (if object) 
   * when the extension point is executed (see below).
   * @param {String} name Unique name for the extension.
   * @param {Object|Callback} response Object to be returned or function to be called by the extension point.
   * @param {Number} [priority] Order priority for execution used for executing in serial.
   * @returns {void}
   */
Register new extension with this extension point.
The registered response will be executed (if callback) or returned (if object)
when the extension point is executed .
@param {String} name Unique name for the extension.
@param {Object|Callback} response Object to be returned or function to be called by the extension point.
@param {Number} [priority] Order priority for execution used for executing in serial.
@returns {void}
Register new extension with this extension point . The registered response will be executed ( if callback ) or returned ( if object ) when the extension point is executed . @param { String } name Unique name for the extension . @param { Object|Callback } response Object to be returned or function to be called by the extension point . @param { Number } [ priority ] Order priority for execution used for executing in serial . @returns { void }
register(name, response, priority = 0) {
    const index = this._extensions.findIndex(p => p.priority > priority)
    const newExt = { name, response, priority }
    if (index > -1) {
      this._extensions.splice(index, 0, newExt)
    } else {
      this._extensions.push(newExt)
    }
  }
register ( name , response , priority = 0 ) { const index = this . _extensions . findIndex ( p => p . priority > priority ) const newExt = { name , response , priority } if ( index > - 1 ) { this . _extensions . splice ( index , 0 , newExt ) } else { this . _extensions . push ( newExt ) } }
Register new extension with this extension point.
Register new extension with this extension point .