Friday 15 April 2016

Promises and performance

If i understand well, Promise is an async library that help structure code, but you won't get any direct performance enhancement from its methods except for Promise.all ?Using Promise and chaining a couple of ".then" and a ".catch" won't make my code more performant. However i can chain asynchronous functions using outside libraries like map or asynchronous each to gain performance.Is that right ?

Submitted April 15, 2016 at 07:40PM by bakunin95

No comments:

Post a Comment