pub fn SendRequestToSideCar(
SideCarIdentifier: String,
Method: String,
Parameters: Value,
TimeoutMilliseconds: u64,
) -> ActionEffect<Arc<dyn IPCProvider>, CommonError, Value>Expand description
Creates an effect that, when executed, will send a request to a specified sidecar process and await its response.
It uses the IPCProvider capability from the environment to perform the
actual IPC request operation over the underlying transport (e.g., gRPC).
§Parameters
SideCarIdentifier: The unique ID of the target sidecar process.Method: The name of the RPC method to be invoked on the sidecar.Parameters: Aserde_json::Valuecontaining the parameters for the request.TimeoutMilliseconds: The maximum time to wait for a response before failing.
§Returns
An ActionEffect that resolves with the serde_json::Value response from
the sidecar.