Atomic
public struct Atomic<A>
Atomic
-
Getter for the value.
Declaration
Swift
public var value: A { get }
-
Creates an instance of value.
Declaration
Swift
public init(_ value: A)
-
Setter for the value.
Declaration
Swift
public mutating func mutate(_ transform: (inout A) -> Void)