In my application, I am passing callback to different module and so on. Same thing I am able to achieve using bluebird promise.
According to best code practice, which one is better?
In my application, I am passing callback to different module and so on. Same thing I am able to achieve using bluebird promise.
According to best code practice, which one is better?
Copyright © 2021 Jogjafile Inc.
There is no "best practice". However, you will find promises much easier to work with.