function (options, generator, listener) {
    options = options || {};
    prepOptions(options, listener);
    return generator(options);
  }
function (options, generator, listener) {
    options = options || {};
    prepOptions(options, listener);
    return generator(options);
  }
function ( options , generator , listener ) { options = options || { } ; prepOptions ( options , listener ) ; return generator ( options ) ; }
Run the input generator.

@param {Object} options - Input generator options.
@param {Function} generator - The input generator to run.
@param {Function} listener - The callback that receives each input generated.
@returns {Promise} The promise returned by the input generator.
Run the input generator .