Echo/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js

9 lines
212 B
JavaScript
Raw Normal View History

2021-02-11 21:31:41 +08:00
var AsyncGenerator = require("./AsyncGenerator");
function _wrapAsyncGenerator(fn) {
return function () {
return new AsyncGenerator(fn.apply(this, arguments));
};
}
module.exports = _wrapAsyncGenerator;