Skip to content

Commit

Permalink
Gateways improvements TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
ElemarJR committed Aug 26, 2018
1 parent dec787d commit 74269a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TheFlow/CoreConcepts/ProcessInstance.Continuations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ ExecutionContext context

if (connections.Length > 1)
{

// TODO: Implement some kind of "selector" in the gateway
ContinueExecutionForAllTokensInParallel(context, connections
.Where(connection =>
{
Expand Down
1 change: 1 addition & 0 deletions src/TheFlow/Elements/Gateways/ExclusiveGateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace TheFlow.Elements.Gateways
{
// TODO: Ensure there is a single path (first to run)
public class ExclusiveGateway : Activity
{
public override void Run(ExecutionContext context)
Expand Down
2 changes: 1 addition & 1 deletion src/TheFlow/Elements/Gateways/ParallelGateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace TheFlow.Elements.Gateways
{
public class ParallelGateway : Activity
{
// TODO: Run in Parallel
// TODO: Support multiple input connections and multiple output connections
public override void Run(ExecutionContext context)
{
var processMonitor = context.ServiceProvider
Expand Down

0 comments on commit 74269a6

Please sign in to comment.