Enumeration

DispatchTimeoutResult

A result value indicating whether a dispatch operation finished before a specified time.

Declaration

@frozen enum DispatchTimeoutResult

Topics

Enumeration Cases

case success

Indicates that a dispatch operation successfully finished before the specified time elapsed.

case timedOut

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

Instance Properties

See Also

Time Constructs

struct DispatchTime

A point in time relative to the default clock, with nanosecond precision.

struct DispatchWallTime

An absolute point in time according to the wall clock, with microsecond precision.

enum DispatchTimeInterval

A number of seconds, millisconds, microseconds, or nanoseconds.

typealias dispatch_time_t

An abstract representation of time.