DispatchTimeoutResult indicates whether a dispatch operation finised before a specified time.


Enumeration Cases

case success

Indicates that a dispatch operation successfully finished before the specified timeout.

case timedOut

Indicates that a dispatch operation failed to finish before the specified timeout.

Operator Functions

static func != (DispatchTimeoutResult, DispatchTimeoutResult) -> Bool

Returns a Boolean value indicating whether two values are not equal.

See Also

Using Dispatch Time

struct DispatchTime

DispatchTime represents a point in time relative to the default clock with nanosecond precision. On Apple platforms, the default clock is based on the Mach absolute time unit.

struct DispatchWallTime

DispatchTime represents an absolute point in time according to the wall clock with microsecond precision. On Apple platforms, the default clock is based on the result of gettimeofday(2).

enum DispatchTimeInterval

DispatchTimeInterval represents a number of seconds, millisconds, microseconds, or nanoseconds. You use DispatchTimeInterval values to specify the interval at which a DispatchSourceTimer fires or I/O handlers are invoked for a DispatchIO channel, as well as to increment and decrement DispatchTime values.

typealias dispatch_time_t

A somewhat abstract representation of time.