Tutorial by Examples

Eventloop in pseudo code An event loop is a loop that waits for events and then reacts to those events while true: wait for something to happen react to whatever happened Example of a single-threaded HTTP server with no event loop while true: socket = wait for the next TCP c...

Page 1 of 1