deasync
deasync copied to clipboard
Turns async function into sync via JavaScript wrapper of Node event loop
See https://github.com/nodejs/node/issues/35510 for details
**Reproduction:** 1. Follow [Electron's quick start guide](https://www.electronjs.org/docs/tutorial/quick-start) to get a working electron app running (packaging not needed) 2. `npm install deasync` 3. Paste the following into the devtools in the...
Trying to install a module that has `deasync` as a dependency, and on both Node 4.4.5 and 5.11.1 the build fails as such: ``` sh > [email protected] install /root/.nvm/versions/node/v5.11.1/lib/node_modules/dapple/node_modules/deasync >...
npm audit reports │ High │ napi_get_value_string_*() allows various kinds of memory corruption in node < 10.21.0, 12.18.0, and < 14.4.0. │ │ Package │ node-addon-api │ │ Patched in...
Using deasync v0.1.20, I encounterd max listeners exceeded issue when using deasync.loopwhile in frequent http.request calls and, this has lead to unexpected termination of my node v14.12.0 server. I am...
``` const {Given, Before, When, Then, BeforeAll, AfterAll, setDefaultTimeout, By} = require("cucumber"); const {strictEqual} = require("assert"); setDefaultTimeout(4 * 5000); let browser; BeforeAll(async () => { const {Builder, By} = require("selenium-webdriver");...
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected] npm WARN [email protected] requires a peer of react@^15.3.2 but none...
Hello Abbr! Thanks for supporting such a wonderful package. I often see C++ exceptions like that. I am sure the reason is `deasync`. I am wondering is there any chance...
Hey i'm trying to use deasync in a cross-platform development setting. I notice that build.js is explicitly being called from package.json. Is it possible to add node-pre-gyp support so that...
_After creating the project when I am using npm start , I am getting below error . Please look into this ._ C:\Users\667855\my-app>npm start > [email protected] start C:\Users\667855\my-app > react-scripts...