Debian Codegraph @

packages/babel-plugin-proposal-async-generator-functions/test/fixtures/yield-star/create-async-from-sync-iterator-babel-7/output.js

raw
1 function fn() {
2 return _fn.apply(this, arguments);
3 }
4 function _fn() {
5 _fn = babelHelpers.wrapAsyncGenerator(function* () {
6 yield* babelHelpers.asyncGeneratorDelegate(babelHelpers.asyncIterator([Promise.resolve("ok")]), babelHelpers.awaitAsyncGenerator); // CreateAsyncFromSyncIterator
7 });
8 return _fn.apply(this, arguments);
9 }