mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-09-10 11:51:49 +02:00
Initial prototype for Swift 6 mode
This commit is contained in:
@@ -36,12 +36,12 @@ import CoreData
|
||||
monitor.addObserver(self)
|
||||
```
|
||||
*/
|
||||
public protocol ObjectObserver: AnyObject {
|
||||
public protocol ObjectObserver: AnyObject & Sendable {
|
||||
|
||||
/**
|
||||
The `DynamicObject` type for the observed object
|
||||
*/
|
||||
associatedtype ObjectEntityType: DynamicObject
|
||||
associatedtype ObjectEntityType: DynamicObject & Sendable
|
||||
|
||||
/**
|
||||
Handles processing just before a change to the observed `object` occurs. (Optional)
|
||||
|
||||
Reference in New Issue
Block a user