Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network requests are performed on the main queue #5

Open
davedelong opened this issue Dec 24, 2013 · 1 comment
Open

Network requests are performed on the main queue #5

davedelong opened this issue Dec 24, 2013 · 1 comment

Comments

@davedelong
Copy link

-[THTTPRequest flush] enqueues operations onto the main queue and waits until they're finished:

[[NSOperationQueue mainQueue] addOperations:@[self.httpOperation] waitUntilFinished:YES];

This prohibits developers from writing Foundation tools that do not utilize a run-loop on the main thread.

@jhoughjr
Copy link

I guess this isn't being addressed? Synchronous network operations are bad, mmmkay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants