STHTTPRequest icon indicating copy to clipboard operation
STHTTPRequest copied to clipboard

Callback queue

Open jasperblues opened this issue 11 years ago • 0 comments

Great library!

One concern is the requirement to always call back on the main queue. This makes a very sensible default, but I've had one or two situations where its been necessary to call back on some other queue.

Example of BBHTTP calling back on another queue:

[request setCallbackQueue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)];

. . what do you think?

jasperblues avatar Jul 08 '14 06:07 jasperblues