Structure

ImmediateScheduler.SchedulerTimeType

The time type used by the immediate scheduler.

Declaration

struct ImmediateScheduler.SchedulerTimeType

Topics

Declaring a Scheduler Timekeeping System

struct ImmediateScheduler.SchedulerTimeType.Stride

The increment by which the immediate scheduler counts time.

Calculating Time Offsets

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

Advances the time by the specified amount; this is meaningless in the context of an immediate scheduler.

func distance(to: ImmediateScheduler.SchedulerTimeType) -> ImmediateScheduler.SchedulerTimeType.Stride

Returns the distance to another immediate scheduler time; this distance is always 0 in the context of an immediate scheduler.

Comparing Scheduler Times

static func != (ImmediateScheduler.SchedulerTimeType, ImmediateScheduler.SchedulerTimeType) -> Bool

Returns a Boolean value indicating whether two values aren’t equal.

static func < (ImmediateScheduler.SchedulerTimeType, ImmediateScheduler.SchedulerTimeType) -> Bool

Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.

static func <= (ImmediateScheduler.SchedulerTimeType, ImmediateScheduler.SchedulerTimeType) -> Bool

Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.

static func > (ImmediateScheduler.SchedulerTimeType, ImmediateScheduler.SchedulerTimeType) -> Bool

Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.

static func >= (ImmediateScheduler.SchedulerTimeType, ImmediateScheduler.SchedulerTimeType) -> Bool

Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.

Relationships

From Protocol

See Also

Declaring Scheduler Timekeeping and Options

typealias ImmediateScheduler.SchedulerOptions

A type that defines options accepted by the immediate scheduler.