mention Debouncer drop impl in documentation

no_thread
pantonshire 3 years ago
parent 7cf3f6eca2
commit b878d56833

@ -39,6 +39,8 @@ use std::{
/// # Ok(())
/// # }
/// ```
///
/// When dropped, the debouncer will close the mpsc channel associated with it.
pub struct Debouncer<RawEvent, DebouncedEvent, FoldFn> {
thread: Option<JoinHandle<()>>,
// This is reference counted because the debouncer thread needs access to the controller, and

Loading…
Cancel
Save