When NOT to use promises [closed] – Closed. This question is opinion-based. It is not currently accepting answers. Want to […]
Tag: promise
How to keep a node.js script alive while promises are being resolved?
How to keep a node.js script alive while promises are being resolved? – My script performs some asynchronous tasks using […]
Node.js: Best way to perform multiple async operations, then do something else?
Node.js: Best way to perform multiple async operations, then do something else? – In the following code I am trying […]
Bluebird Promisfy.each, with for-loops and if-statements?
Bluebird Promisfy.each, with for-loops and if-statements? – Right now, the parent for-loop (m < repliesIDsArray.length) completes before the first findOne […]
ReferenceError: resolve is not defined
ReferenceError: resolve is not defined – I have a function to call the google speech API. Looks all is good […]
Execute batch of promises in series. Once Promise.all is done go to the next batch
Execute batch of promises in series. Once Promise.all is done go to the next batch – I have an array […]
How to return a promise when writestream finishes? [duplicate]
How to return a promise when writestream finishes? [duplicate] – This question already has answers here: How do I convert […]
Using Promises with fs.readFile in a loop
Using Promises with fs.readFile in a loop – I’m trying to understand why the below promise setups don’t work. (Note: […]
Node.js – Working with an API limit of 5 requests per second
Node.js – Working with an API limit of 5 requests per second – I’ve got a ‘script’ that does thousands […]