Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tweedegolf/mio-async-executor

An example async executor that uses mio to respond to OS events
https://github.com/tweedegolf/mio-async-executor

Last synced: about 2 months ago
JSON representation

An example async executor that uses mio to respond to OS events

Awesome Lists containing this project

README

        

# mio async executor

An example async reactor that uses [`mio`](https://docs.rs/mio/latest/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.

## Funders

This project is funded by the [NLnet Foundation].

Logo NLnet

[NLnet Foundation]: https://nlnet.nl/