Skip to main content

run_with_state

Function run_with_state 

Source
pub async fn run_with_state(
    args: A2aArgs,
    server_state: WorkerServerState,
) -> Result<()>
Expand description

Run the A2A worker with shared state for HTTP server integration This variant accepts a WorkerServerState to communicate with the HTTP server