emscripten-core / emscripten-core/emscripten

Documentation - API Reference - Fetch API - Synchronous Fetches seems out of date

Open
#15,016 1 comment 0 reactions 0 assignees View on GitHub
docs good first bug help wanted
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

https://github.com/emscripten-core/emscripten/blob/main/site/source/docs/api_reference/fetch.rst#synchronous-fetches

It states:
```--proxy-to-worker + -s USE_PTHREADS=1: Synchronous Fetch operations are available both on the main thread and pthreads.```

If you try to apply those flags with 2.0.26 you get:
```--proxy-to-worker is not supported with -s USE_PTHREADS>0! Use the option -s PROXY_TO_PTHREAD=1 if you want to run the main thread of a multithreaded application in a web worker.```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.