occupancy property

Logic? occupancy

The number of items in the FIFO.

If generateOccupancy is false, this output will not exist.

Implementation

Logic? get occupancy => generateOccupancy ? output('occupancy') : null;