Skip to main content

Next Steps

Hosted workflows​

Read Workflow getting started, then:

WorkflowHost.inMemory is process-local. For production, use WorkflowHost.create, configure a persistent adapter, save run IDs, and re-register compatible definitions after restart. recover() re-enqueues a bounded batch of runnable runs; it is not exactly-once dispatch and does not force-resume a future timer or event wait.

Generated tasks​

Tasks and workflow handlers both have at-least-once effects. A successful checkpoint does not make an external API call transactional.

Flutter and AI​

For a Flutter foreground host, use stem_flutter's WorkflowHostController and WorkflowHostScope; see the stem_flutter package README.

For AI-assisted authoring, AI skills explains the official Dart package-skills installation flow and the skills included in Stem's source. Older pub.dev releases may not include them.