Contents

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.

See Also

Waiting for the Completion of a Work Item