Instance Method
performBlock(pausedObservation:)performBlockWithPausedObservation:performBlockWithPausedObservation_
Pauses the observation, performs the block, and resumes the observation before returning.
Declaration
func performBlock(pausedObservation body: @escaping () -> Void)Declaration
- (void) performBlockWithPausedObservation:(void (^)()) body;Declaration
performBlockWithPausedObservation_(body)Discussion
Exceptions thrown in the block are caught and rethrown after resuming the observation.