Sunday, 4 June 2017

How does Node.js convert your code to events?

When you first run your Node program, how/what is the first event supplied to the event loop? Is your program like a top-level callback that is being executed the entire time? (And I would assume this top-level callback is usually "server.listen()"?)



via ghert85

No comments:

Post a Comment