ValueObservationMainActorScheduler
A type that determines when ValueObservation
notifies its fresh values, on the main actor.
protocol ValueObservationMainActorScheduler : ValueObservationScheduler
Browse conforming typesBuilt-In Schedulers
static var immediate: ImmediateValueObservationScheduler
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
A scheduler that notifies all values on the main actor.
struct ImmediateValueObservationScheduler
A scheduler that notifies all values on the main actor. The first value is immediately notified when the
ValueObservation
is started.class DelayedMainActorValueObservationScheduler
A scheduler that notifies all values on the cooperative thread pool.