BarrierState public enum BarrierState Represents the current state of a barrier that controls dispatch flow. closed The barrier is closed, preventing dispatches from proceeding. Declaration Swift case closed open The barrier is open, allowing dispatches to proceed. Declaration Swift case open