pub fn async_to_generator(c: Config, unresolved_mark: Mark) -> impl Pass
@babel/plugin-transform-async-to-generator
async function foo() { await bar(); }
var _async_to_generator = function (fn) { ... }; var foo = _async_to_generator(function* () { yield bar(); });