From 8429eb68ddc06d89443cb710de3039c2aca0940f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 30 Mar 2024 19:24:49 +0100 Subject: [PATCH] ValueObservationScheduler is Sendable --- GRDB/ValueObservation/ValueObservationScheduler.swift | 2 +- TODO.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GRDB/ValueObservation/ValueObservationScheduler.swift b/GRDB/ValueObservation/ValueObservationScheduler.swift index d43cad7dc..df109cfee 100644 --- a/GRDB/ValueObservation/ValueObservationScheduler.swift +++ b/GRDB/ValueObservation/ValueObservationScheduler.swift @@ -11,7 +11,7 @@ import Foundation /// - ``immediate`` /// - ``AsyncValueObservationScheduler`` /// - ``ImmediateValueObservationScheduler`` -public protocol ValueObservationScheduler { +public protocol ValueObservationScheduler: Sendable { /// Returns whether the initial value should be immediately notified. /// /// If the result is true, then this method was called on the main thread. diff --git a/TODO.md b/TODO.md index 658d9cefb..f5710e9b4 100644 --- a/TODO.md +++ b/TODO.md @@ -170,7 +170,7 @@ - [ ] tablealias - [X] transactionclock - [ ] valueobservation - - [ ] valueobservationscheduler + - [X] valueobservationscheduler ## Unsure if necessary