shipfeedAI news, curated daily

05:25:22 CET
24 JUN05:25:22shipfeed
pull to refreshlast sync
Just in — 30 new
§ tools · storyline

Workflow SDK now supports inflight cancellation

Workflow SDK 5 beta adds AbortController support for cancelling in-flight operations across workflow and step boundaries.

Jun 16 · · primary fetch1 sourceupdated Jun 16 ·

The Workflow SDK 5 beta now supports the standard and APIs across workflow and step boundaries.AbortControllerAbortSignal Create a controller inside a workflow, pass its signal into one or more steps, and cancel in-flight operations using the same API already uses.fetch 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 and read the to learn more.workflow@betacancellation documentation Read more

read full article on vercel.com
§ sources2 publications · timeline below
  1. vercel.comWorkflow SDK now supports inflight cancellationprimary
  2. vercel.comWorkflow SDK now supports TanStack Start

§ how this story moved

  1. primaryVercel — Changelog publishes the launch post.
  2. Vercel — Changelog picks up coverage.