wrapAsyncGenerator.js 184 Bytes Raw Blame History Permalink 1 2 3 4 5 6 import AsyncGenerator from "./AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { return function () { return new AsyncGenerator(fn.apply(this, arguments)); }; }