diff options
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js')
-rw-r--r-- | alarm/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js b/alarm/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js new file mode 100644 index 0000000..723b2dd --- /dev/null +++ b/alarm/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js @@ -0,0 +1,6 @@ +import AsyncGenerator from "./AsyncGenerator.js"; +export default function _wrapAsyncGenerator(fn) { + return function () { + return new AsyncGenerator(fn.apply(this, arguments)); + }; +}
\ No newline at end of file |