code: function exportEvent(outer, inner, event) {
      inner.on(event, (...args) => {
          args.unshift(event);
          outer.emit(...args);
      });
  }
docs: export closure function out
  
  @param {Function} outer outer function
  @param {Function} inner inner function
  @param {object} event
  @api private