function wrapExecutorContext(context) {
    return function contextExporter(resolve, reject) {
      context.self = this
      context.args = [].slice.call(arguments)
      context.args[0] = wrapResolver(context, resolve)
      context.args[1] = wrapResolver(context, reject)
    }
  }
Creates a function which will export the context and arguments of its
execution.

@param {object} context - The object to export the execution context with.
@returns {Function} A function which, when executed, will add its context
 and arguments to the `context` parameter.