pub type XCNotificationExpectationHandler = *mut DynBlock<dyn Fn(NonNull<NSNotification>) -> Bool>;Available on crate feature
block2 only.Expand description
A block to be invoked when a notification matching the specified name is observed from the object.
Parameter notification: The notification object.
Returns: Return YES if the expectation is fulfilled, NO if it is not.
See also Appleās documentation