class INotify::Watcher

Watchers monitor a single path for changes, specified by {INotify::Notifier#watch event flags}. A watcher is usually created via {Notifier#watch}.

One {Notifier} may have many {Watcher}s. The Notifier actually takes care of the checking for events, via {Notifier#run run} or {Notifier#process process}. The main purpose of having Watcher objects is to be able to disable them using {#close}.