BarrierScope
public enum BarrierScope : RawRepresentable, Equatable
extension BarrierScope: DataInputConvertible
The BarrierScope defines the available scopes that can be assigned to a Barrier via a BarrierSettings.
There are only two available scopes that a Barrier can impact:
alldispatcher
A Barrier scoped to all will be checked for its state for every dispatcher before dispatching events to it.
A Barrier scoped to dispatcher will only be checked for its state for the specific dispatcher as identified by the given dispatcher name.
-
Declaration
Swift
public typealias RawValue = String -
Applies to all dispatchers.
Declaration
Swift
case all -
Applies to the dispatcher with the given ID.
Declaration
Swift
case dispatcher(id: String) -
Declaration
Swift
public var rawValue: String { get } -
Declaration
Swift
public init(rawValue: String) -
Declaration
Swift
public func toDataInput() -> any DataInput
View on GitHub