Type Property

zero

The zero value.

Declaration

static var zero: DispatchQueue.SchedulerTimeType.Stride { get }

Discussion

Zero is the identity element for addition. For any value, x + .zero == x and .zero + x == x.

See Also

Creating Scheduler Time Strides

init(DispatchTimeInterval)

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

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.