Answer the question
In order to leave comments, you need to log in
How to promissify a class with bluebird in node?
I am looking for a way to do synchronous operations in node. Many praise the bluebird module. I found a note on github, and I can’t understand why bluebird is here, if you could get by with the usual built-in Promise, because it will work the same way?
And yet, tell me how to properly promissify the class? Force each method to return a promise, or is it possible to somehow wrap everything at once through bluebird? Because it doesn't come out right.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question