Contents

schedule(after:interval:tolerance:_:)

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

Declaration

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

Discussion

The immediate scheduler ignores date and performs the action immediately.

See Also

Scheduling actions