Instance Method

resume()

Resumes execution of the receiver task that had previously been suspended with a suspend() message.

Declaration

func resume() -> Bool

Return Value

true if the receiver was able to resume execution, false otherwise.

Discussion

If multiple suspend() messages were sent to the receiver, an equal number of resume() messages must be sent before the task resumes execution.

See Also

Running and Stopping a Task

func interrupt()

Sends an interrupt signal to the receiver and all of its subtasks.

func launch()

Launches the task represented by the receiver.

Deprecated
func suspend() -> Bool

Suspends execution of the receiver task.

func terminate()

Sends a terminate signal to the receiver and all of its subtasks.

func waitUntilExit()

Block until the receiver is finished.