Namespace WorkflowForge.Extensions.Persistence
Classes
- PersistenceExtensions
Extension methods to enable persistence using a user-provided provider.
- PersistenceMiddleware
Persists and resumes workflow execution by checkpointing after each operation via a user-provided provider. Uses an index-based counter to track the current operation position. The counter is stored on
foundry.Propertiesand incremented after each operation completes, making it O(1) per operation with no dictionary lookups. Safe for nested workflows because each foundry has its own property dictionary.
- PersistenceOptions
Configuration options for Persistence middleware. Controls workflow state persistence behavior and resumable workflows across processes. Inherits common options functionality from WorkflowForgeOptionsBase.
- ServiceCollectionExtensions
Extension methods for configuring Persistence middleware in dependency injection containers.