Typically this kind of scenario exists in API client code where the client instance has it's own NSManagedObjectContext created with NSPrivateQueueConcurrencyType concurrency. It would be useful to be able to assign a queue for dispatching the success/failure blocks to. We can then avoid having to manually dispatch from the main queue. If no queue is set then we simply call the blocks as normal.
Routinely we're doing something like this:
Typically this kind of scenario exists in API client code where the client instance has it's own NSManagedObjectContext created with NSPrivateQueueConcurrencyType concurrency. It would be useful to be able to assign a queue for dispatching the success/failure blocks to. We can then avoid having to manually dispatch from the main queue. If no queue is set then we simply call the blocks as normal.