Initial prototype for Swift 6 mode

This commit is contained in:
John Estropia
2026-07-07 11:18:17 +09:00
parent 38ec439b18
commit 49f65601cd
71 changed files with 998 additions and 684 deletions
@@ -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(