mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
9 lines
239 B
JavaScript
9 lines
239 B
JavaScript
|
import { _async_generator } from "./_async_generator.js";
|
||
|
|
||
|
export function _wrap_async_generator(fn) {
|
||
|
return function() {
|
||
|
return new _async_generator(fn.apply(this, arguments));
|
||
|
};
|
||
|
}
|
||
|
export { _wrap_async_generator as _ };
|