Contents

tryCancel()

Submits a request to abandon a command buffer the queue is currently running.

Declaration

func tryCancel()

Discussion

Check the command buffer’s status property after it completes, either after waitUntilCompleted() or in one of your completion handlers (see addCompletedHandler(_:)).