emscripten-core / emscripten-core/emscripten
fetch apis not working from web worker thread in async mode
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 109
Description
Using the emscripten fetch methods from a thread hangs. If run code from main thread it works. Setting the `EMSCRIPTEN_FETCH_SYNCHRONOUS` flag allows the code to run from a thread. Unfortunately, our code expects http calls to be async, so we cannot use this solution.
Is this expected behavior? Is not what we expected based on the documentation.
Contributor guide
Assessment
This issue has not been assessed yet.