ImmediateValueObservationScheduler
A scheduler that notifies all values on the main actor. The first value is immediately notified when the ValueObservation
is started.
struct ImmediateValueObservationScheduler
A scheduler that notifies all values on the main actor. The first value is immediately notified when the ValueObservation
is started.
struct ImmediateValueObservationScheduler
import GRDB
A toolkit for SQLite databases, with a focus on application development
static var immediate: ImmediateValueObservationScheduler { get }
A scheduler that notifies all values on the main actor. The first value is immediately notified when the ValueObservation
is started.
static var mainActor: DelayedMainActorValueObservationScheduler { get }
A scheduler that notifies all values on the main actor.
final class DelayedMainActorValueObservationScheduler
A scheduler that notifies all values on the cooperative thread pool.
protocol Sendable
protocol ValueObservationMainActorScheduler : ValueObservationScheduler
A type that determines when ValueObservation
notifies its fresh values, on the main actor.
protocol ValueObservationScheduler : Sendable
A type that determines when ValueObservation
notifies its fresh values.
init()
func immediateInitialValue() -> Bool
func scheduleOnMainActor(_ action: @escaping @MainActor () -> Void)
static var immediate: ImmediateValueObservationScheduler { get }
A scheduler that notifies all values on the main actor. The first value is immediately notified when the ValueObservation
is started.
func schedule(_ action: @escaping () -> Void)