EstablishHostConnection

Function EstablishHostConnection 

Source
pub fn EstablishHostConnection(
    SideCarIdentifier: String,
) -> ActionEffect<Arc<dyn IPCProvider>, CommonError, ()>
Expand description

Creates a convenience effect that can be used to perform an initial handshake or ping a sidecar process to confirm connectivity.

This function is a specialized wrapper around SendNotificationToSideCar, pre-filling the method name and parameters for a standard handshake notification.

§Parameters

  • SideCarIdentifier: The unique ID of the sidecar process to connect to.

§Returns

An ActionEffect that resolves to () on success and requires the IPCProvider capability to be executed.