All Questions
4 questions
0
votes
3
answers
391
views
If callback function, promises and async/await patterns all can be used to achieve asynchronous behaviour then why don't we stick to one?
As far as I have seen then async/await, callbacks and promises are and can only be used to achieve asynchronous programming. Correct?
So my questions are:
1) Is it correct that the former three is ...
-1
votes
3
answers
325
views
Writing elegant promises in Node.js
I am having a real difficult time writing some clean code with a simple user registration/login manager. I am trying to stay out of nesting/callback hell, and am also not seeing any benefit in using ...
4
votes
1
answer
3k
views
Are Native Promises Still Slower in Node vs Libraries such as Bluebird? [closed]
Does this question still apply: Why are native ES6 promises slower and more memory-intensive than bluebird??
In regards to the latest versions of Node.js and EC7?
3
votes
1
answer
674
views
Is there any value in using a Promises library versus ES6 Promises?
I see a lot of NodeJS articles recommending the Bluebird library for promisifying your code and avoiding callback spaghetti.
Is there any value in using such a library when using Node 4.2.4+ given ...