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
valueThe initial value to set.
queueThe dispatch queue used to achieve synchronization.
DispatchedValueWrapper Protocol Reference