Schedules a work item for execution at the specified time, and returns immediately.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Xcode 6.0.1+
The time at which to schedule the work item for execution. Specifying the current time is less efficient than calling the
async(execute:) method directly. Do not specify the value in
distantFuture; doing so is undefined.
The work item containing the task to execute. For information on how to create this work item, see
Executing Tasks Asynchronously
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