Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/appsignal/mio-worker

Simple worker running on top of Mio that can handle messages, timeouts and IO.
https://github.com/appsignal/mio-worker

mio rust

Last synced: about 1 month ago
JSON representation

Simple worker running on top of Mio that can handle messages, timeouts and IO.

Awesome Lists containing this project

README

        

# Mio Worker

Simple worker running on of [Mio](https://github.com/tokio-rs/mio) that can:

* Receive messages
* Schedule and run timeouts
* Handle IO

Useful if you want to combine these three things in a loop that's
running in a single thread. Inspired on the design of Mio 0.5.

## Testing

It can be useful to view the `trace` level logs when running the tests:

```
RUST_LOG=trace cargo test -- --nocapture
```