Each production building has its own queue:
Each hero produces one item at a time.
Other items wait their turn.
Completed items can be collected all at once.
If multiple heroes are working in the same production building, each hero produces one item from their own queue simultaneously. The number of available slots depends on the hero's level.
One extra slot can be temporarily unlocked using gems.