| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | MODULE OVERVIEW | DEMO | CAT.FLUENTWORKFLOWS | |
|||||
Code Reference
» Cat.FluentWorkflows.Abstractions Assembly » Cat.FluentWorkflows.Abstractions Namespace » ICatStepProcessor Interface
ICatStepProcessor.RunStepsAsync<TWorkflowState>(ICatWorkflowBuilder<TWorkflowState>, TWorkflowState, CancellationToken) Method
Runs the steps of a builder in order. It stops after a step that returns a break result.
System.Threading.Tasks.Task<Cat.FluentWorkflows.Abstractions.ICatWorkflowResponse> RunStepsAsync<TWorkflowState>(Cat.FluentWorkflows.Abstractions.ICatWorkflowBuilder<TWorkflowState> workflowBuilder, TWorkflowState workflowState, System.Threading.CancellationToken cancellationToken)
where TWorkflowState : class, Cat.FluentWorkflows.Abstractions.ICatWorkflowState<TWorkflowState>;
Type parameters
TWorkflowState
The state of the workflow.
Parameters
workflowBuilder Cat.FluentWorkflows.Abstractions.ICatWorkflowBuilder<TWorkflowState>
Holds the steps.
workflowState TWorkflowState
The state the steps work on.
cancellationToken System.Threading.CancellationToken
Token to cancel the work.
Returns
System.Threading.Tasks.Task<ICatWorkflowResponse>
The result of the last step that ran, with the errors of every step that ran.