var wrappedValue: T { get set }
s25PackageConcurrencyHelpers9ProtectedC12wrappedValuexvp
26S6W
import PackageConcurrencyHelpers
@propertyWrapper final class Protected<T>
Thread safe access to simple variable protected by lock
init(wrappedValue: T)
var projectedValue: Protected<T> { get }
func read<V>(_ body: (T) throws -> V) rethrows -> V
Provides thread-safe scoped access to protected value
func write<V>(_ body: (inout T) throws -> V) rethrows -> V
Provides thread-safe scoped mutable access to protected value