mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
17 lines
474 B
JavaScript
17 lines
474 B
JavaScript
/*#__PURE__*/React.createElement(Component, null, () => {
|
|
const saveSession = () => {
|
|
var newSessionId;
|
|
return babelHelpers.regeneratorAsync(function (_context) {
|
|
while (1) switch (_context.n) {
|
|
case 0:
|
|
_context.n = 1;
|
|
return babelHelpers.awaitAsyncGenerator(someAsyncFunc());
|
|
case 1:
|
|
newSessionId = _context.v;
|
|
case 2:
|
|
return _context.a(2);
|
|
}
|
|
}, null, null, null, Promise);
|
|
};
|
|
});
|