Contents

resumeExecution(withResult:)

If a successful, unmatched, invocation of Suspendexecution() has been made, resume the execution of the command.

Declaration

func resumeExecution(withResult result: Any?)

Discussion

Resumes the execution of the command if a successful, unmatched, invocation of suspendExecution() has been made—otherwise, does nothing. The value for result is dependent on the segment of command execution that was suspended:

resumeExecution(withResult:) may be invoked in any thread, not just the one in which the corresponding invocation of suspendExecution() occurred.

See Also

Suspending and resuming commands