Event debouncer
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pantonshire 8b70bbdf15 wip threadless debouncer 2 years ago
examples add examples dir 2 years ago
src wip threadless debouncer 2 years ago
.gitignore 🎉 initial commit 3 years ago
Cargo.toml update Cargo.toml and start writing README 3 years ago
LICENSE 📄 add license 3 years ago
README.md update Cargo.toml and start writing README 3 years ago

README.md

treacle

A generic event debouncer for Rust, for grouping events which occur close together in time into a single event.

For example, you may have some templates which you want to reload whenever a template file changes. However, if many small changes are made to the template files in quick succession, it would be wasteful to reload the templates for every change; instead, a debouncer could be used to group the changes that occur at a similar time into a single change, so the templates are only reloaded once.

Usage