Type Alias

VNRequestCompletionHandler

A type alias to encapsulate the syntax for the completion handler block that's invoked after the request has finished processing.

Declaration

typedef void (^VNRequestCompletionHandler)(VNRequest *request, NSError *error);

Discussion

The completion handler is executed on the same dispatch queue as the request being executed.