Files
vercel__workflow/.changeset/run-status-long-poll.md
2026-08-20 13:19:25 -07:00

416 B

@workflow/core, @workflow/world, @workflow/world-local, @workflow/world-postgres, @workflow/world-vercel
@workflow/core @workflow/world @workflow/world-local @workflow/world-postgres @workflow/world-vercel
minor minor minor minor minor

Add world.runs.waitForTerminalStatus(runId, { timeoutMs, signal, resolveData }) method, which long-polls until the run reaches a terminal status. await run.returnValue now internally uses this, if the World supports it, instead of using a polling interval.