Instance Method

distance(to:)

Returns the distance to another run loop scheduler time.

Declaration

Parameters

other

Another run loop time.

Return Value

The time interval between this time and the provided time.

Relationships

From Protocol

See Also

Working with Scheduler Time Intervals

struct RunLoop.SchedulerTimeType.Stride

The interval by which run loop times advance.

func advanced(by: RunLoop.SchedulerTimeType.Stride) -> RunLoop.SchedulerTimeType

Returns a run loop scheduler time calculated by advancing this instance’s time by the given interval.