pub fn shared_agent(agent: impl Agent + 'static) -> Arc<Mutex<Box<dyn Agent>>> ⓘ
Wrap arbitrary impl Agent as a SharedAgent
impl Agent
SharedAgent