emscripten
emscripten copied to clipboard
Async call in web worker looses refernce to worker preventing emscripten_worker_respond
If I try to do an async call (emscripten_async_wget2 or emscripten_async_call) within a web worker, I am no longer able to call emscripten_worker_respond without getting this error:
InternalError: uncaught exception: not in worker call!
There should be a way to hold the context of the worker call to allow for a delayed response.
Related Question: When spawning web workers is it better, from a performance standpoint, to have a single long lived worker or several short lived ones. I can chunk the problem either way.
Thanks!
Issue is not with async calls but file requests. Closing this tix and opening new with correct info.