TRON v0.3.0 Release Notes
-
Completion blocks are now handled by new
EventDispatcher
class, which is responsible for running completion blocks on predefined GCD-queue.Default behaviour - all parsing is made on QOS_CLASS_USER_INITIATED queue, success and failure blocks are called on main queue.
You can specify
processingQueue
,successDeliveryQueue
andfailureDeliveryQueue
ondispatcher
property of TRON. After request creation you can modify queues usingdispatcher
property on APIRequest, or even replace EventDispatcher with a custom one.