Menu

Open source Workflow Development Kit is now in public beta - Vercel
📰
0

Open source Workflow Development Kit is now in public beta - Vercel

Vercel News·Pranay Prakash·4 days ago
#CjmIPauA
#vercel#workflow#const#await#durable#async
Reading 0:00
15s threshold

Workflow Development Kit, a framework for building durable, long-running processes, is now in public beta. Workflow Development Kit brings durability, reliability, and observability to async JavaScript so you can build apps and AI agents that suspend, resume, and maintain state with ease. Turning functions into durable workflows is made simple by the "use workflow" directive: export async function hailRide ( requestId : string ) { "use workflow" ; const request = await validateRiderRequest ( requestId ) ; const trip = await assignDriver ( request ) ; const confirmation = await notifyRider ( trip ) ; const receipt = await createReceipt ( trip ) ; return receipt ; } Key highlights include : Reliability by simply adding "use workflow" to make async functions durable. No manual wiring of queues, no schedulers, no YAML. Mark Steps to denote with "use step" . Retries are automatic. Durability. Call sleep to pause without holding compute, then resume in place. Built-in observability.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More