Make Branch
constructor consistent with other composite runnables
#208
Labels
breaks compatibility
Proposal breaks backwards compatibility
While other composing runnables take children runnables as positional arguments (children-accepting:
Branches
,Parallel
,Race
; child-accepting:Loop
,Map
,Unwind
),Branch
takes its children in a single argument,components
.Although there are benefits of this approach (lazy composition/iteration, explicitness), and
Branch
constructor is rarely used explicitly (usually implicitly with|
operator), the inconsistency can be confusing for users (see #207).The text was updated successfully, but these errors were encountered: