Skip to main content

ReadinessWatcher

Type Alias ReadinessWatcher 

Source
pub type ReadinessWatcher = RecommendedWatcher;
Expand description

Readiness notifications for one cache directory. macOS uses a vnode watch so unlinking a lease wakes the waiter even if FSEvents coalesces it away. Windows uses AFT’s directory watcher to avoid re-arming notify reads on closed handles. Other platforms keep notify’s watcher.

Aliased Type§

pub struct ReadinessWatcher { /* private fields */ }