Reactor Pattern
A software behavioral design pattern which allows for the single-threaded demultiplexing of events. Also known as Dispatcher Pattern or Notifier Pattern
Reactor — An Object Behavioral Pattern for Event Demultiplexing and Event Handler Dispatching (PDF)