Skip to main content

set_agent

Method
This is a method of the BotProtocol class in the bots module.
Set the agent that handles messages.

Signature

def set_agent(&mut self, agent: Arc<Agent>) -> ()

Parameters

agent
Arc<Agent>
required
No description available.

Returns

Returns
()
The result of the operation.