-
Notifications
You must be signed in to change notification settings - Fork 245
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
How to poll an AsyncResult without blocking? #540
Comments
Is it only possible to execute a single async call at a time? Maybe is this limited by the single python thread on the remote side? The use case here is to be able to run multiple remote method calls in parallel, ideally using the same objects. So I suppose threads. |
The only way I could figure out a truly multi-call async solution to this was to:
I'm still writing custom code for every server function call but I don't know how else to do it. |
Same here, I ended up batching the calls, seemed simpler. Can somebody with insight explain the limitation? |
Describe the issue briefly here, including:
AsyncResult.ready
without blocking until remote call has completed.if async_result.ready:
blocks until remote call has completed. I am unable to find the code containing the blocking call. TheAsyncResult.ready
implementation shows no blocking calls, yet stepping into that method from my code somehow blocks before entering it.Steps to reproduce:
Environment
Minimal example
See above
The text was updated successfully, but these errors were encountered: