mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +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<
|
final class ValueWriteOnlyObserver<
|
||||||
Writer: DatabaseWriter,
|
Writer: DatabaseWriter,
|
||||||
Reducer: ValueReducer,
|
Reducer: ValueReducer,
|
||||||
Scheduler: ValueObservationScheduler>
|
Scheduler: ValueObservationScheduler>: @unchecked Sendable
|
||||||
{
|
{
|
||||||
|
// @unchecked Sendable: see Mutable State below.
|
||||||
|
|
||||||
// MARK: - Configuration
|
// MARK: - Configuration
|
||||||
//
|
//
|
||||||
// Configuration is not mutable.
|
// Configuration is not mutable.
|
||||||
|
|||||||
@@ -176,8 +176,8 @@
|
|||||||
- [X] transactionclock
|
- [X] transactionclock
|
||||||
- [ ] valueobservation
|
- [ ] valueobservation
|
||||||
- [X] valueobservationscheduler
|
- [X] valueobservationscheduler
|
||||||
- [ ] ValueWriteOnlyObserver (needed so that it can conform to DatabaseCancellable)
|
- [X] ValueWriteOnlyObserver (needed so that it can conform to DatabaseCancellable)
|
||||||
- [ ] ValueObservationTrackingMode
|
- [X] ValueObservationTrackingMode
|
||||||
- [X] DatabaseRegionConvertible
|
- [X] DatabaseRegionConvertible
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user