Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/appsignal/mio-worker
- Owner: appsignal
- License: mit
- Created: 2021-05-29T10:46:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T11:26:55.000Z (11 months ago)
- Last Synced: 2024-04-11T08:53:29.590Z (9 months ago)
- Topics: mio, rust
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 IOUseful 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
```