wrapAsyncGenerator.js 212 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 var AsyncGenerator = require("./AsyncGenerator"); function _wrapAsyncGenerator(fn) { return function () { return new AsyncGenerator(fn.apply(this, arguments)); }; } module.exports = _wrapAsyncGenerator;