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

It would be cool to also support an async request. #4

Open
toger5 opened this issue Feb 17, 2017 · 0 comments
Open

It would be cool to also support an async request. #4

toger5 opened this issue Feb 17, 2017 · 0 comments

Comments

@toger5
Copy link
Contributor

toger5 commented Feb 17, 2017

I would basically just put the while loop In your _poll function into a different thread and than add an event to the class. which gets triggered after receiving data.
or you could even add another function argument. (although I don't know if that makes sense. as far as I know Godot doesn't support any closer type syntax sugar...)

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

1 participant