deasync icon indicating copy to clipboard operation
deasync copied to clipboard

Turns async function into sync via JavaScript wrapper of Node event loop

Results 67 deasync issues
Sort by recently updated
recently updated
newest added

Receiving this error whilst trying to run the example from the main readme. > node: ../deps/uv/src/unix/linux.c:1091: uv__poll_io_uring: Assertion `uv__has_active_reqs(loop)' failed. > Aborted (core dumped) Here is the minimum code to...

After switching to an M1 Mac I get the following error. I tried adding a resolution to version 0.1.28 in my package.json which did not help. ``` elias@localhost frontend %...

such as this ``` test("aa", async () => { function* yieldButNotAsync() { yield 1; yield 2; console.log(`end`); } async function asyncGenFunc() { // do something async console.log(`start`); const timeout =...

Hello everyone, I can't run "pnpm install" successful because of the following error: > │ node:events:491 > │ throw er; // Unhandled 'error' event > │ ^ > │ Error:...

### Reproduce https://github.com/loynoir/reproduce-node-47971 ### Expected ```sh $ node ./test/test-require.cjs waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting import('./plugin.mjs') waiting...

Looking trough the issue i see that there are a bunch of gyp, electron and loop / freezes and high cpu issues floating around. What i was looking for was...