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


@frozen enum DispatchTimeoutResult


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software