What problem does it solve?
Provides domain expertise for developing durable workflows with the Duraflows packages (@duraflows/core, @duraflows/pg, and @duraflows/nestjs). Use when writing, reviewing, or debugging code that imports duraflows packages, defines WorkflowDefinition objects, implements WorkflowCommand handlers, configures WorkflowModule, or works with workflow states, events, timeouts, or onEnter chains.
Core Features & Use Cases
- Guidance on building and validating durable workflows end-to-end in TypeScript projects using Duraflows core, persistence adapters, and NestJS integration.
- Best practices for defining definitions, commands, guards, observers, timeouts, and onEnter chains with robust error handling and auditing.
- Real-world scenarios and patterns for testing, deployment, and maintenance of workflow modules in both standalone and NestJS environments.
Quick Start
Create a small sample workflow using @duraflows/core and @duraflows/nestjs in a NestJS app to validate the runtime's transaction semantics.