BlockableReceiverIfc

A receiver with a finite capacity that can report whether it can accept an instance and notify upstream stations when space frees. This enables manufacturing (block-after-service) blocking between stations.

Inheritors

Functions

Link copied to clipboard
abstract fun attachSpaceAvailableListener(listener: () -> Unit)

Registers a listener invoked when a slot frees (so a blocked upstream can push).

Link copied to clipboard
abstract fun canReceive(): Boolean

True if the receiver currently has room for another instance.