Contents

resume()

Resumes a paused VM and notifies the specified completion handler of the results.

Declaration

func resume() async throws

Discussion

Call this method to resume a VM that’s in the VZVirtualMachine.State.paused state. To determine if a VM is in a state that allows you to resume it, check the VM’s canResume property.

See Also

Starting and stopping the VM