VNRequestCompletionHandler
A type alias to encapsulate the syntax for the completion handler the system calls after the request finishes processing.
Declaration
typealias VNRequestCompletionHandler = (VNRequest, (any Error)?) -> VoidDiscussion
Vision executes the completion handler on the same queue that it executes the request; however, this queue differs from the one where you called perform(_:).