thenSubnetwork

Attaches a bounded subnetwork defined in inner to the current NodeBuilder chain. The output of the subnetwork can then be connected to downstream nodes using the DSL system as well.

Parameters

networkName

Name of the bounded subnetwork

capacity

Maximum capacity of the subnetwork. The full-occupancy behaviour is identical to com.group7.nodes.BoundedQueueNode

inner

Lambda function with the subnetwork's content defined within. Read more here.