elsa-workflows / elsa-workflows/elsa-core
[ENH] About the Elsa.Workflows.Pipelines.ActivityExecution
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
Suggest aligning the `ActiveExecution` programming paradigm with the `WorkflowExecution`, for example:
- `ActiveExecutionPipeBuilder` suggests renaming it to `ActiveExecutionPipeBuilder`
- Add the ActiveExecutionMiddleware class with the following code:
```csharp
namespace Elsa.Workflows.Pipelines.ActivityExecution;
public abstract class ActivityExecutionMiddleware : IActivityExecutionMiddleware
{
protected ActivityExecutionMiddleware(ActivityMiddlewareDelegate next) => Next = next;
protected ActivityMiddlewareDelegate Next { get; }
public abstract ValueTask InvokeAsync(ActivityExecutionContext context);
}
```
Contributor guide
Assessment
This issue has not been assessed yet.