Type Definitions
The following type definitions are available globally.
-
A completion handler for jobs.
Declaration
Objective-C
typedef void (^MNFJobCompletionHandler)(id _Nullable, id _Nullable, NSError *_Nullable)
Swift
typealias MNFJobCompletionHandler = (Any?, Any?, Error?) -> Void
Parameters
result
The result from the request, can return many different objects and needs to be cast to the expected object.
metaData
The metadata returned from the request.
error
The error of the request.