BarrierScope
public enum BarrierScope : Equatable
extension BarrierScope: DataInputConvertible
The BarrierScope defines the available scope that can be assigned to a Barrier via a BarrierSettings.
There are only two available scopes that a Barrier can impact:
alldispatchers
A Barrier scoped to all will be checked for its state for every dispatcher before dispatching events to it.
A Barrier scoped to dispatchers will only be checked for its state before dispatching events to
the dispatchers identified by the provided dispatcherIds.
-
Applies to all dispatchers.
Declaration
Swift
case all -
Applies to the dispatchers with the given IDs.
Declaration
Swift
case dispatchers([String]) -
Declaration
Swift
public func toDataInput() -> any DataInput
View on GitHub