DispatchTimeInterval
enum · SDK 27.1
enum DispatchTimeIntervalRepresents a time interval that can be used as an offset from a `DispatchTime` or `DispatchWallTime`. For example: let inOneSecond = DispatchTime.now() + DispatchTimeInterval.seconds(1) If the requested time interval is larger then the internal representation permits, the result of adding it to a `DispatchTime` or `DispatchWallTime` is `DispatchTime.distantFuture` and `DispatchWallTime.distantFuture` respectively. Such time intervals compare as equal: let t1 = DispatchTimeInterval.seconds(Int.max) let t2 = DispatchTimeInterval.milliseconds(Int.max) let result = t1 == t2 // true
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.