File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ extension Defaults {
43
43
/**
44
44
Type-erased key.
45
45
*/
46
- public class _AnyKey {
46
+ public class _AnyKey : @ unchecked Sendable {
47
47
public typealias Key = Defaults . Key
48
48
49
49
public let name : String
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public protocol _DefaultsObservation: AnyObject {
27
27
extension Defaults {
28
28
public typealias Observation = _DefaultsObservation
29
29
30
- public enum ObservationOption {
30
+ public enum ObservationOption : Sendable {
31
31
/**
32
32
Whether a notification should be sent to the observer immediately, before the observer registration method even returns.
33
33
*/
@@ -365,3 +365,4 @@ extension Defaults.ObservationOptions {
365
365
}
366
366
367
367
extension Defaults . KeyChange : Equatable where Value: Equatable { }
368
+ extension Defaults . KeyChange : Sendable where Value: Sendable { }
You can’t perform that action at this time.
0 commit comments