Instance MethodDispatch
asyncAfter(wallDeadline:execute:)
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.10+
Submits a work item to a dispatch queue for asynchronous execution after a specified time.
func asyncAfter(wallDeadline: DispatchWallTime, execute: DispatchWorkItem)
Parameters
deadlineThe time after which the work item should be executed, given as a
DispatchWallTime.executeThe work item to be invoked on the queue.
Discussion
See Also
asyncAfter(wallDeadline:qos:flags:execute:)
See Also
DispatchTime