Execution/Poll for status
Poll for status
Poll deterministically until terminal state. Polling is a contract, not a tight loop.
Cadence
| State | Client behavior |
|---|---|
| After submit | Wait 30 seconds. |
| Pending/running | Poll every 120 seconds. |
| Completed/failed/cancelled | Stop polling and call hermes_result once. |
| Past 600 seconds | Report timeout/stuck. |
Terminal states
completed, failed, and cancelled are terminal.
