Function notify_debouncer_mini::new_debouncer_opt
source · [−]pub fn new_debouncer_opt<F: DebounceEventHandler, T: Watcher>(
timeout: Duration,
tick_rate: Option<Duration>,
event_handler: F,
config: Config
) -> Result<Debouncer<T>, Error>
Expand description
Creates a new debounced watcher with custom configuration.
Timeout is the amount of time after which a debounced event is emitted or a continuous event is send, if there still are events incoming for the specific path.
If tick_rate is None, notify will select a tick rate that is less than the provided timeout.