DispatchedValueWrapper
public protocol DispatchedValueWrapper : ThreadSafeValueWrapper
Protocol for AtomicKit
dispatched value wrappers.
See also
ThreadSafeValueWrapper
-
Initializes a dispatched value wrapper object.
Declaration
Swift
init(value: ValueType, queue: DispatchQueue)
Parameters
value
The initial value to set.
queue
The dispatch queue used to achieve synchronization.