O'Reilly logo
  • Craig McDaniel thinks this is interesting:

The core of Twisted is the reactor event loop. The reactor knows about network, filesystem, and timer events. It waits on and demultiplexes these events and dispatches them to waiting event handlers. Twisted takes care of abstracting away platform-specific behavior and using the underlying nonblocking APIs correctly. Twisted presents a common interface to the various event sources so that responding to events anywhere in the network stack is easy.


Cover of Twisted Network Programming Essentials, 2nd Edition


What does it mean to "demultiplex" events?