Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,12 @@ private static async ValueTask<bool> MaybeScheduleWaitAnyActivityAsync(FlowGraph

if (flowScope.AnyInboundConnectionsFollowed(flowGraph, outboundActivity))
{
// This is the first inbound connection followed; schedule the outbound activity
var scheduleResponse = await ScheduleOutboundActivityAsync(flowchartContext, outboundActivity, completionCallback);
// An inbound connection has been followed; cancel remaining inbound activities
await CancelRemainingInboundActivitiesAsync(flowchartContext, outboundActivity);

// This is the first inbound connection followed; schedule the outbound activity
return await ScheduleOutboundActivityAsync(flowchartContext, outboundActivity, completionCallback);
return scheduleResponse;
Comment thread
sfmskywalker marked this conversation as resolved.
}

if (flowScope.AllInboundConnectionsVisited(flowGraph, outboundActivity))
Expand Down
Loading