Skip to main content

dispatch

Function dispatch 

Source
fn dispatch(cmd: AgentCommand, bridge: &ForgeSdkBridge) -> Result<()>
Expand description

Dispatch one AgentCommand to the matching ForgeSdkBridge method. Internal - kept on anyhow because the bridge surface itself returns anyhow::Result and the dispatcher task only logs the error before continuing. The public AgentHandle surface above uses the typed AgentError.