pub fn send(&self, event: AgentLifecycleEvent<AGN>) {
        let runnable: Box<dyn Runnable> = Box::new(AgentRunnable {
            state: self.state.clone(),
            event,
        });
        scheduler().push(runnable);
    }
/// Schedule message for sending to agent
Schedule message for sending to agent
Schedule message for sending to agent
pub fn send(&self, event: AgentLifecycleEvent<AGN>) {
        let runnable: Box<dyn Runnable> = Box::new(AgentRunnable {
            state: self.state.clone(),
            event,
        });
        scheduler().push(runnable);
    }
pub fn send ( & self , event : AgentLifecycleEvent < AGN > ) { let runnable : Box < dyn Runnable > = Box :: new ( AgentRunnable { state : self . state . clone ( ) , event , } ) ; scheduler ( ) . push ( runnable ) ; }
Schedule message for sending to agent
Schedule message for sending to agent
&self
event
AgentLifecycleEvent<AGN>
&self
event
AgentLifecycleEvent<AGN>