Commit Graph
14 Commits
Author SHA1 Message Date
pantonshire 8b70bbdf15 wip threadless debouncer 2023-08-20 20:58:41 +01:00
pantonshire fe87e12256 add examples dir 2023-08-19 10:16:18 +01:00
pantonshire 7424e36e56 document new graceful shutdown behaviour 2023-08-19 09:10:10 +01:00
pantonshire 8a517d932c gracefully shut down the channel on drop instead of discarding events
Previously, if the debouncer's shutdown flag was set while there was
anything in its accumulator, the contents of the accumulator would never
be sent through the mpsc channel, effectively causing the events folded
into the accumulator to be lost. This patch modifies the shutdown
behaviour to send the contents of the accumulator through the channel
before stopping the debouncer and closing the channel.
2023-08-19 09:04:34 +01:00
pantonshire b878d56833 mention Debouncer drop impl in documentation 2023-08-18 09:31:20 +01:00
pantonshire 7cf3f6eca2 update Cargo.toml and start writing README 2023-08-17 09:20:12 +01:00
pantonshire 70b1b2266d pre-written fold functions for convenience 2023-08-16 09:34:13 +01:00
pantonshire a25eb76de0 store debouncer fold function in the debouncer itself 2023-08-14 09:00:43 +01:00
pantonshire 20d954c10b ✨ debounce_unit method 2023-04-30 16:38:12 +01:00
pantonshire 721520dae4 ✨ remove DebouncerController from public API 2023-04-30 15:22:29 +01:00
pantonshire faa31d944b ✨ shut down debouncer on drop 2023-04-30 14:35:11 +01:00
pantonshire 12b96d2fd6 📄 add license 2023-04-29 14:38:35 +01:00
pantonshire fdb58ca487 🔧 update Cargo.toml 2023-04-29 14:37:17 +01:00
pantonshire 8a2863d3a3 🎉 initial commit 2023-04-29 14:32:20 +01:00