






















Move your existing durable workflow system to the Workflow SDK with side-by-side code comparisons and a realistic migration example.
Install the Workflow SDK migration skill:
npx skills add https://github.com/vercel/workflow --skill migrating-to-workflow-sdkMove an existing orchestration system to the Workflow SDK. Each guide pairs a concept-mapping table with side-by-side code, so you can translate one piece of your codebase at a time.
Map Activities, Workers, Signals, and Child Workflows onto workflows, steps, hooks, and start() / getRun().
Map createFunction, step.run, step.sleep, step.waitForEvent, and step.invoke onto workflows, steps, and hooks.
Replace ASL JSON states, Task / Choice / Wait / Parallel states, and .waitForTaskToken callbacks with TypeScript.
Map task(), schemaTask(), wait.for / wait.forToken, triggerAndWait, and metadata.stream onto workflows, steps, hooks, and start() / getRun().
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。