connect_bounded_consumer
Recycles wire capacity by connecting a bounded queue's consumer to the queue's capacity place, freeing a slot per dequeue.
Instructions
Wire capacity recycling between a BoundedQueue and its consumer.
Looks up the queue's capacity place by naming convention ('{queue_name}_Capacity') and the consumer's start transition ('{consumer_name}_Start' for Machine, '{consumer_name}_Do' for Assembly), then adds an arc consumer->capacity so each dequeue recycles a slot.
Args: queue_name: Instance name passed to add_bounded_queue consumer_name: Instance name of the downstream consumer (Machine or Assembly)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue_name | Yes | ||
| consumer_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |