mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-07-19 03:01:13 +02:00
Initial prototype for Swift 6 mode
This commit is contained in:
@@ -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