XCWaitCompletionHandler Block Reference
Declared in | XCTestCase+AsynchronousTesting.h |
---|
Block Definition
XCWaitCompletionHandler
@typedef XCWaitCompletionHandler A block to be invoked when a call to -waitForExpectationsWithTimeout:handler: times out or has had all associated expectations fulfilled.
typedef void (^XCWaitCompletionHandler) (NSError *__nullable error)
Discussion
@param error If the wait timed out or a failure was raised while waiting, the error’s code will specify the type of failure. Otherwise error will be nil.
Declared In
XCTestCase+AsynchronousTesting.h