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

Support of asynchronous api calls. #49

Closed
Dr-ZeeD opened this issue Jul 20, 2016 · 4 comments
Closed

Support of asynchronous api calls. #49

Dr-ZeeD opened this issue Jul 20, 2016 · 4 comments

Comments

@Dr-ZeeD
Copy link

Dr-ZeeD commented Jul 20, 2016

I suppose the title says it all ;)

@tejado
Copy link
Owner

tejado commented Jul 20, 2016

What do you have exactly in mind? callback to a given function when the response is returned? Otherwise it could be solved with additional code around the API.

@Dr-ZeeD
Copy link
Author

Dr-ZeeD commented Jul 20, 2016

At the moment I do not see a way to start asynchronous api calls except for starting multiple processes. It'd be nice if something like grequests could be supported :)

@RyanHope
Copy link
Contributor

RyanHope commented Jul 24, 2016

I could port the backend to use Twisted very easily. That would support async calls. This was actually one of the first thing that I was going to do.

@tejado
Copy link
Owner

tejado commented Jul 29, 2016

With the latest commit, pgoapi should be thread-safe

@tejado tejado closed this as completed Jul 29, 2016
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

3 participants