Skip to main content

SidecarSessionSetup

Type Alias SidecarSessionSetup 

Source
pub type SidecarSessionSetup = Arc<dyn Fn(&SidecarSession<'_>) -> Result<(), ComponentError> + Send + Sync>;
Expand description

Host-provided setup for a stdio sidecar connection, replayed after the first spawn and after every respawn of the connection (see crate::ComponentManager::with_sidecar_session).

Aliased Typeยง

pub struct SidecarSessionSetup { /* private fields */ }