Function send_with_timeout
Source pub async fn send_with_timeout(
request: &Request,
timeout_ms: u64,
) -> Result<Response, IpcError>
Expand description
Send a request with a custom timeout
§Arguments
request - The request to send to the daemon
timeout_ms - Timeout in milliseconds
§Returns
Returns the response from the daemon or an IpcError if communication fails