mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
9454d51db0
Co-authored-by: Peter Wielander <mittgfu@gmail.com> Co-authored-by: Peter Wielander <peter.wielander@vercel.com>
416 B
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.