Skip to main content

Module worker

Module worker 

Source
Expand description

A2A Worker - connects to an A2A server to process tasks

Structs§

HeartbeatState
Heartbeat state shared between the heartbeat task and the main worker

Enums§

WorkerStatus
Worker status for heartbeat

Constants§

DEFAULT_A2A_SERVER_URL
Default A2A server URL when none is configured

Functions§

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