tokio watcher, but with async-friendly RwLock instead
- Rust 100%
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Watcher
This is just a rip-off of tokio's tokio::sync::watch module but using parking-lot's RwLock with arc_lock and send_guard features so that it is Send and thus works across .await points without triggering rust nightmares.