Instance Method

schedule(after:tolerance:options:_:)

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

Declaration

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

Relationships

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.