Files
30-seconds-of-code/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js
2019-08-20 15:52:05 +02:00

9 lines
212 B
JavaScript

var AsyncGenerator = require("./AsyncGenerator");
function _wrapAsyncGenerator(fn) {
return function () {
return new AsyncGenerator(fn.apply(this, arguments));
};
}
module.exports = _wrapAsyncGenerator;