wait()
Causes the caller to wait synchronously until the dispatch work item finishes executing.
Declaration
func wait()Discussion
This method returns immediately if the current work item has already finished executing.
Causes the caller to wait synchronously until the dispatch work item finishes executing.
func wait()This method returns immediately if the current work item has already finished executing.