XCWaitCompletionHandler

Type Alias XCWaitCompletionHandler 

Source
pub type XCWaitCompletionHandler = *mut DynBlock<dyn Fn(*mut NSError)>;
Available on crate feature block2 only.
Expand description

A block to be invoked when a call to -waitForExpectationsWithTimeout:handler: times out or has had all associated expectations fulfilled.

Parameter 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.

See also Apple’s documentation