When we work with Promise, we can check whether pending state is finished.
But with Node.js-events we can only add listener for some named events. How we can check whether particular event has occurred?
No comments:
Post a Comment