pub type AfterRunCallback = Box<dyn Fn(Arc<dyn InvocationContext>) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>;Expand description
Callback invoked after the agent run completes.
Used for cleanup, logging, metrics collection. This callback does NOT emit events - it’s for side effects only.
Aliased Type§
pub struct AfterRunCallback(/* private fields */);