mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-15 13:22:12 +01:00
Initial prototype for Swift 6 mode
This commit is contained in:
1 parent
38ec439b18
commit
49f65601cd
71 files changed
+998
-684
No files matched your search
@@ -31,7 +31,7 @@ extension Internals {
|
||||
|
||||
// MARK: - SharedNotificationObserver
|
||||
|
||||
internal final class SharedNotificationObserver<T> {
|
||||
internal final class SharedNotificationObserver<T>: @unchecked Sendable {
|
||||
|
||||
// MARK: Internal
|
||||
|
||||
@@ -39,7 +39,7 @@ extension Internals {
|
||||
notificationName: Notification.Name,
|
||||
object: Any?,
|
||||
queue: OperationQueue? = nil,
|
||||
sharedValue: @escaping (_ note: Notification) -> T
|
||||
sharedValue: @escaping @Sendable (_ note: Notification) -> T
|
||||
) {
|
||||
|
||||
self.observer = NotificationCenter.default.addObserver(
|
||||
|
||||
Reference in new issue
Block a user