code: function makePromise(requestInstance, promiseFactoryFn) {
  
    // Resolver function wich assigns the promise (resolve, reject) functions
    // to the requestInstance
    function Resolver(resolve, reject) {
      this._resolve = resolve;
      this._reject = reject;
    }
  
    return promiseFactoryFn(Resolver.bind(requestInstance));
  }
docs: It calls the promiseFactory function passing it the resolver for the promise
  
  @param {Object} requestInstance - The Request Retry instance
  @param {Function} promiseFactoryFn - The Request Retry instance
  @return {Object} - The promise instance