Skip to main content

Module watcher

Module watcher 

Source

Structs§

WatchHandle
Handle returned to the caller. Keeps the watch loop alive. Drop it or call stop() to shut down the watcher.

Enums§

WatchEvent
Events emitted by the watch loop — consumed by the caller (CLI / UI).

Functions§

watch_pair
Start watching a named pair. Returns a WatchHandle immediately. The on_event callback is called from the watch thread for each event.