# Workflow SDK now supports inflight cancellation

DevFeed: [Workflow SDK now supports inflight cancellation](<https://devfeed.tech/articles/workflow-sdk-now-supports-inflight-cancellation-1204.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/workflow-sdk-now-supports-inflight-cancellation>)

Author: Pranay Prakash

Published: 2026-06-16T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [SDKs](<https://devfeed.tech/topics/sdks.md>), [API](<https://devfeed.tech/topics/api.md>), [Vercel](<https://devfeed.tech/topics/vercel.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [browser](<https://devfeed.tech/tags/browser.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [knowledge-base](<https://devfeed.tech/tags/knowledge-base.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

## AI overview

Workflow SDK 5 beta adds durable in-flight cancellation across workflow and step boundaries through the standard AbortController and AbortSignal APIs. Signals remain durable across suspensions and deterministic replay, including when steps run in separate function invocations. Cancellation is cooperative, so steps must inspect the signal or pass it to a compatible API.

## Source excerpt

The Workflow SDK 5 beta now supports the standard AbortController and AbortSignal APIs across workflow and step boundaries. Create a controller inside a workflow, pass its signal into one or more steps, and cancel in-flight operations using the same API fetch already uses. That signal stays durable across suspensions and deterministic replay. When a step is running, it sees the cancellation, even when it's in a separate function invocation. Cancellation is also cooperative; steps have to inspect the signal or pass it to an API that supports AbortSignal. Use it to stop a slow step when a durable timeout wins a race, cancel the remaining requests after the first successful response, thread one signal through a multi-step pipeline, or cancel parallel work when an external condition changes. Try it with workflow@beta and read the cancellation documentation to learn more. Browser Workflow SDK resources in the Vercel Knowledge Base. Read more