Interface WorkflowPlan.JoinPolicy

All Known Implementing Classes:
WorkflowPlan.JoinPolicy.All, WorkflowPlan.JoinPolicy.Quorum
Enclosing class:
WorkflowPlan

public static sealed interface WorkflowPlan.JoinPolicy permits WorkflowPlan.JoinPolicy.All, WorkflowPlan.JoinPolicy.Quorum
A join's completion policy: All waits for every selected branch to arrive or end, Quorum(n) for the first n arrivals, cancelling the rest (n=1 is any). JoinDecision.decide applies it.