code: function exec(genFn) {
    return genFnToPromise(genFn).apply(this, Array.prototype.slice.call(arguments, 1));
  }
docs: 执行 coroutine 函数
  
  @param {Function} genFn
  @param {Mixed} param1
  @param {Mixed} param2
  @return {Promise}