elsa-workflows / elsa-workflows/elsa-core

[ENH] About the Elsa.Workflows.Pipelines.ActivityExecution

Open
#6,095 1 comment 0 reactions 0 assignees View on GitHub
enhancement triaged
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.