pub fn new_debouncer<F: DebounceEventHandler>(
    timeout: Duration,
    tick_rate: Option<Duration>,
    event_handler: F
) -> Result<Debouncer<RecommendedWatcher>, Error>
Expand description

Short function to create a new debounced watcher with the recommended debouncer.

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.