Saturday, 8 April 2017

How to check 'fulfilled' state for Node.js event?

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?



via ktretyak

No comments:

Post a Comment