then

Connects this node to node and returns node, so a chain continues from it.


Fans out to each node in targets so they run concurrently, as in a then nodes(b, c). Returns targets, which joinTo connects to a JoinNode to continue once they all complete.


Fans out by connecting this node to each of targets, such as a computed list, and returns them as a NodeGroup, like then(nodes(...)). An empty collection adds no edges.


fun Node.then(first: Node, second: Node, vararg rest: Node): NodeGroup

Fans out by connecting this node to first, second, and each node in rest so they run concurrently, as in a.then(b, c). Returns them as a NodeGroup for joinTo. Infix chains still need a then nodes(b, c) because an infix call takes one argument.


Completes this routed edge at node and returns node, so a chain continues from it.