Type Method

microseconds(_:)

Converts the specified number of microseconds into an instance of this scheduler time type.

Declaration

static func microseconds(_ us: Int) -> DispatchQueue.SchedulerTimeType.Stride

Relationships

See Also

Converting to Seconds

static func milliseconds(Int) -> DispatchQueue.SchedulerTimeType.Stride

Converts the specified number of milliseconds into an instance of this scheduler time type.

static func nanoseconds(Int) -> DispatchQueue.SchedulerTimeType.Stride

Converts the specified number of nanoseconds into an instance of this scheduler time type.

static func seconds(Double) -> DispatchQueue.SchedulerTimeType.Stride

Converts the specified number of seconds, as a floating-point value, into an instance of this scheduler time type.

static func seconds(Int) -> DispatchQueue.SchedulerTimeType.Stride

Converts the specified number of seconds into an instance of this scheduler time type.