Is there a way to do HTTP requests using HTTP Client without blocking the main thread in the HTML5 webassembly export?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stubbsy345

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.

Did you get this to work?

anonymous | 2018-07-05 20:00