github-pages-deploy-action/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js

6 lines
184 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import AsyncGenerator from "./AsyncGenerator";
export default function _wrapAsyncGenerator(fn) {
return function () {
return new AsyncGenerator(fn.apply(this, arguments));
};
}