11 Commits (8a517d932cd4e3332790667d215de5ab191a22a8)
 

Author SHA1 Message Date
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.
2 years ago
pantonshire b878d56833 mention Debouncer drop impl in documentation 3 years ago
pantonshire 7cf3f6eca2 update Cargo.toml and start writing README 3 years ago
pantonshire 70b1b2266d pre-written fold functions for convenience 3 years ago
pantonshire a25eb76de0 store debouncer fold function in the debouncer itself 3 years ago
pantonshire 20d954c10b debounce_unit method 3 years ago
pantonshire 721520dae4 remove DebouncerController from public API 3 years ago
pantonshire faa31d944b shut down debouncer on drop 3 years ago
pantonshire 12b96d2fd6
📄 add license 3 years ago
pantonshire fdb58ca487 🔧 update Cargo.toml 3 years ago
pantonshire 8a2863d3a3 🎉 initial commit 3 years ago