Initializer

init(_:)

Creates a dispatch queue scheduler time interval from the given dispatch time interval.

Declaration

init(_ timeInterval: DispatchTimeInterval)

Parameters

timeInterval

A dispatch time interval.

See Also

Creating Scheduler Time Strides

init?<T>(exactly: T)

Creates a dispatch queue scheduler time interval from a binary integer type.

init(floatLiteral: Double)

Creates a dispatch queue scheduler time interval from a floating-point seconds value.

init(integerLiteral: Int)

Creates a dispatch queue scheduler time interval from an integer seconds value.