Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tweedegolf/mio-async-executor
- Owner: tweedegolf
- Created: 2024-01-31T15:16:12.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-01T14:21:35.000Z (12 months ago)
- Last Synced: 2024-04-14T05:27:07.124Z (9 months ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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].
[NLnet Foundation]: https://nlnet.nl/