Next Steps
Hosted workflows
Read Workflow getting started, then:
- Flows and Scripts
- Starting and Waiting
- Suspensions and Events
- Errors, Retries, and Idempotency
- Context and Serialization
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 Producer API
- Routing, retry and backoff, and uniqueness
- Observability and the production checklist
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.