pub trait OnStartFn: for<'a> Fn(&'a Agent) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'a>> + Send + Sync + DynClone { }
Hooks that are called when the agent starts, either from pending or stopped