wrapAsyncGenerator.js 184 Bytes
import AsyncGenerator from "./AsyncGenerator";
export default function _wrapAsyncGenerator(fn) {
  return function () {
    return new AsyncGenerator(fn.apply(this, arguments));
  };
}