waitUntilCompleted()

Blocks the current thread until the GPU finishes executing the input/output command buffer and all of its completion handlers.

Declaration

func waitUntilCompleted()