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

Fix data task handler return queue issue #182

Closed
wants to merge 1 commit into from
Closed

Fix data task handler return queue issue #182

wants to merge 1 commit into from

Conversation

tysonkerridge
Copy link

@tysonkerridge tysonkerridge commented Mar 21, 2019

• Fixed issue with error handlers not being called on main queue where intended. Functions using the dataTaskWithURL(_:completionHandler:errorHandler:) function internally specify that their completion handlers will be executed on the main thread.

• Set up a return queue variable to potentially allow easy changes in the future.

cc @1ec5

…intended.

Functions using the dataTaskWithURL(_:completionHandler:errorHandler:) function internally specify that their completion handlers will be executed on the main thread.
Set up a return queue variable to potentially allow easy changes in the future.
@tysonkerridge
Copy link
Author

I guess this is a duplicate of #184 now...

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

Successfully merging this pull request may close these issues.

1 participant