Instance Method

schedule(after:interval:_:)

Performs the action at some time after the specified date, at the specified frequency, using minimum tolerance possible for this Scheduler.

Declaration

func schedule(after date: Self.SchedulerTimeType, interval: Self.SchedulerTimeType.Stride, _ action: @escaping () -> Void) -> Cancellable

See Also

Scheduling Actions

func schedule(() -> Void)

Performs the action at the next possible opportunity, without options.

func schedule(after: Self.SchedulerTimeType, () -> Void)

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

func schedule(after: Self.SchedulerTimeType, interval: Self.SchedulerTimeType.Stride, tolerance: Self.SchedulerTimeType.Stride, () -> Void) -> Cancellable

Performs the action at some time after the specified date, at the specified frequency, taking into account tolerance if possible.

func schedule(after: Self.SchedulerTimeType, interval: Self.SchedulerTimeType.Stride, tolerance: Self.SchedulerTimeType.Stride, options: Self.SchedulerOptions?, () -> Void) -> Cancellable

Performs the action at some time after the specified date, at the specified frequency, optionally taking into account tolerance if possible.

Required.

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

Performs the action at the next possible opportunity.

Required.