+1 vote

Hi,

I am looking at using the HTTPClient in my project. Why do I have to poll it? Is there no way to provide a call back function for it to execute on completion?

Where is a good place to poll it - I see alot of examples using while loops, but I thought the engine would block the thread we are using to render with a while loop - is that not the case?

I am so used to JS that some of the workings of the engine are a little mysterious to me. Thanks for the help in understanding.

in Engine by (41 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.