Instance Method


Performs the action at some time after the specified date, at the specified frequency, using the specified tolerance and options.


func schedule(after date: DispatchQueue.SchedulerTimeType, interval: DispatchQueue.SchedulerTimeType.Stride, tolerance: DispatchQueue.SchedulerTimeType.Stride, options: DispatchQueue.SchedulerOptions?, _ action: @escaping () -> Void) -> Cancellable


From Protocol

See Also

Scheduling Combine Publishers

func schedule(options: DispatchQueue.SchedulerOptions?, () -> Void)

Performs the action at some time after the specified date, using the scheduler’s minimum tolerance.

var minimumTolerance: DispatchQueue.SchedulerTimeType.Stride

The minimum tolerance allowed by the dispatch queue scheduler.

var now: DispatchQueue.SchedulerTimeType

The dispatch queue scheduler’s definition of the current moment in time.

struct DispatchQueue.SchedulerTimeType

The scheduler time type used by the dispatch queue.

struct DispatchQueue.SchedulerOptions

A set of options that affect the operation of the dispatch queue scheduler.