Classgrdb 7.3.0GRDB
TaskValueObservationScheduler
A scheduler that notifies all values on the cooperative thread pool.
final class TaskValueObservationScheduler
A scheduler that notifies all values on the cooperative thread pool.
final class TaskValueObservationScheduler
import GRDB
A toolkit for SQLite databases, with a focus on application development
static func async(onQueue queue: DispatchQueue) -> AsyncValueObservationScheduler
A scheduler that asynchronously notifies fresh value of the given DispatchQueue
.
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.
static var task: TaskValueObservationScheduler { get }
A scheduler that notifies all values from a new Task
.
static func task(priority: TaskPriority) -> TaskValueObservationScheduler
A scheduler that notifies all values from a new Task
with the given priority.
struct AsyncValueObservationScheduler
A scheduler that asynchronously notifies fresh value of a DispatchQueue
.
protocol Sendable
protocol ValueObservationScheduler : Sendable
A type that determines when ValueObservation
notifies its fresh values.
func immediateInitialValue() -> Bool
func schedule(_ action: @escaping () -> Void)