import Synchronization struct SomeProxyClient { var foo: @MainActor @Sendable () -> Void var bar: @MainActor @Sendable () -> Void static let liveValue: Self = { let _proxy = Mutex<Int>(0) return Self( foo: { // ↓ Sending '_proxy' risks causing data races _proxy.withLock { _ in } }, bar: { _proxy.withLock { _ in } } ) }() }