Closed defagos closed 5 years ago
Request queues could use a mediator for storing completion blocks outside the queue, with a relationship between queue and block stored in a map (see SRGRequestQueue.m for how this is implemented to associate requests with queues, via a map).
SRGRequestQueue.m
This way, queues would be even simpler to use.
Will be implemented in SRG Network, a dedicated issue has been opened.
Request queues could use a mediator for storing completion blocks outside the queue, with a relationship between queue and block stored in a map (see
SRGRequestQueue.m
for how this is implemented to associate requests with queues, via a map).This way, queues would be even simpler to use.