Swap-Aggregator-Subgraph/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

6 lines
187 B
JavaScript

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