Re:Escape from Callback Hell: Callbacks are the modern goto
by jblow on Friday November 02, 2012 @06:31PM
(#4735097)
Just like a C++ program would, you have a loop that blocks on network input. This has been solved since the 1970s.
(FWIW my own architectures tend to turn callbacks into queues and polling.)