mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-22 04:00:39 +00:00
StrictConcurrency: ValueWriteOnlyObserver is Sendable
Required for DatabaseCancellable conformance
This commit is contained in:
1 parent
b4677dede4
commit
ff2a75489d
2 files changed
+5
-3
No files matched your search
@@ -21,8 +21,10 @@ import Foundation
|
||||
final class ValueWriteOnlyObserver<
|
||||
Writer: DatabaseWriter,
|
||||
Reducer: ValueReducer,
|
||||
Scheduler: ValueObservationScheduler>
|
||||
Scheduler: ValueObservationScheduler>: @unchecked Sendable
|
||||
{
|
||||
// @unchecked Sendable: see Mutable State below.
|
||||
|
||||
// MARK: - Configuration
|
||||
//
|
||||
// Configuration is not mutable.
|
||||
|
||||
@@ -176,8 +176,8 @@
|
||||
- [X] transactionclock
|
||||
- [ ] valueobservation
|
||||
- [X] valueobservationscheduler
|
||||
- [ ] ValueWriteOnlyObserver (needed so that it can conform to DatabaseCancellable)
|
||||
- [ ] ValueObservationTrackingMode
|
||||
- [X] ValueWriteOnlyObserver (needed so that it can conform to DatabaseCancellable)
|
||||
- [X] ValueObservationTrackingMode
|
||||
- [X] DatabaseRegionConvertible
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user