0 votes

Is there a way to do HTTP requests using HTTP Client without blocking the main thread in the HTML5 webassembly export? Bearing in mind that threading is not possible in the HTML5 export. Which is how I would usually send HTTP requests without blocking the main tread. Somebody once told me that it is possible to use _process, instead of a while loop, to avoid blocking of the main thread. However, I am not sure if this is possible as I imagine that HTTP client in the web export requires a connection to permit with the Javascript.

If anybody has any ideas on this/has done this before any help would be appreciated.

asked Apr 21, 2018 in Engine by stubbsy345 (282 points)

Did you get this to work?

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.