The path to watch
Called when new events are received
The duration to wait from first received watch event until invoking the callback
The unit of time associated with the wait time
Starts the watcher (blocking the current thread).
Starts the watcher (blocking the current thread).
Starts the watcher in a separate thread.
Starts the watcher in a separate thread.
The thread running the watcher
Watches the specified path for changes, calling the notification function when a change occurs.