Pass AbortSignal through workflow steps to cancel in-flight operations using standard web APIs, surviving durable suspension and replay.
Summary
Eliminates custom cancellation plumbing in long-running workflows. Developers can now timeout slow steps, race requests, and cancel parallel work using the same pattern as fetch, reducing boilerplate.
Why it matters
Eliminates custom cancellation plumbing in long-running workflows. Developers can now timeout slow steps, race requests, and cancel parallel work using the same pattern as fetch, reducing boilerplate.
Implementation verdict
Replaces homegrown timeout/cancellation logic. Requires workflow@beta and explicit signal inspection in steps (cancellation is cooperative, not forced). Worth trying now if you're on Workflow SDK 5; covers common timeout and race patterns directly.
Sources
Dev Signal
Get briefs like this in your inbox — free, 3x a week.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.