Skip to main content

SidecarRestartEvent

Type Alias SidecarRestartEvent 

Source
pub type SidecarRestartEvent = Arc<dyn Fn(&str, u32) + Send + Sync>;
Expand description

Handler called with the component id and the new restart count after each successful stdio respawn (see crate::ComponentManager::with_sidecar_restart_event).

Aliased Typeยง

pub struct SidecarRestartEvent { /* private fields */ }