Skip to main content

watch_process_registry

Function watch_process_registry 

Source
pub fn watch_process_registry(
    inner: Arc<dyn ProcessRegistry>,
) -> (Arc<dyn ProcessRegistry>, ProcessChangeHub)
Expand description

Wrap inner in a [WatchedProcessRegistry] with no event sink.

The decorated handle publishes change ticks to the returned ProcessChangeHub. Use watch_process_registry_with_sink to also feed a host-facing ProcessEventSink.