Instance Method

performBlockAndWait:

Synchronously performs a given block on the receiver’s queue.

Declaration

- (void)performBlockAndWait:(void (^)(void))block;

Parameters

block

The block to perform.

Discussion

You use this method to send messages to managed objects if the context was initialized using NSPrivateQueueConcurrencyType or NSMainQueueConcurrencyType.

This method may safely be called reentrantly.

See Also

Related Symbols

- performBlock:

Asynchronously performs a given block on the receiver’s queue.