An example async reactor that uses mio
to await OS events.
Most examples don't actually show how to respond to real events like a socket becoming readable or writable. Mature executors are complex and it is hard to see the essence. This example shows the whole setup in ~250 lines. It is still an example, so simplicity has been chosen over performance in some cases.
This project is funded by the NLnet Foundation.