Instance MethodDispatch
asyncAfter(wallDeadline:qos:flags:execute:)
Submits a work item to a dispatch queue for asynchronous execution after a specified time.
func asyncAfter(wallDeadline: DispatchWallTime, qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], execute work: @escaping @Sendable () -> Void)
Parameters
deadlineThe time after which the work item should be executed, given as a
DispatchWallTime.qosThe QoS at which the work item should be executed. Defaults to
DispatchQoS.unspecified.flagsFlags that control the execution environment of the work item.
executeThe work item to be invoked on the queue.
Discussion
See Also
async(execute:)
See Also
asyncAfter(wallDeadline:execute:)
See Also
DispatchQoS
See Also
DispatchWorkItemFlags
See Also
DispatchWallTime