Skip to main content

watch

Function watch 

Source
pub fn watch(
    runtime: Handle,
    cfg: Config,
    on_event: impl Fn(Event) + Send + 'static,
)
Expand description

Watch runtime with cfg, calling on_event from the watching thread.