pub fn register_acp_connection(
connection: Arc<AgentSideConnection>,
) -> Result<(), Arc<AgentSideConnection>>Expand description
Register the global ACP connection from the host protocol.
Returns Err with the provided connection if one has already been
registered. Callers may drop the returned connection or reuse it as needed.