Skip to main content

get_agent

Method
This is a method of the GatewayProtocol class in the gateway module.
Get a registered agent by ID.

Signature

def get_agent(&self, agent_id: &str) -> Option<Arc<Agent>>

Parameters

agent_id
&str
required
No description available.

Returns

Returns
Option<Arc<Agent>>
The result of the operation.