Suspends execution of the receiver task.
SDK
- macOS 10.0+
Framework
- Foundation
Suspends execution of the receiver task.
SDK
Framework
func interrupt()
Sends an interrupt signal to the receiver and all of its subtasks.
func resume() -> Bool
Resumes execution of the receiver task that had previously been suspended with a suspend()
message.
func terminate()
Sends a terminate signal to the receiver and all of its subtasks.
func wait Until Exit()
Block until the receiver is finished.