Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document single_threaded_async feature #15

Open
1 task done
mxgrey opened this issue Aug 3, 2024 · 0 comments
Open
1 task done

Document single_threaded_async feature #15

mxgrey opened this issue Aug 3, 2024 · 0 comments

Comments

@mxgrey
Copy link
Contributor

mxgrey commented Aug 3, 2024

Before proceeding, is there an existing issue or discussion for this?

Description

Until web assembly can support threading, users that target web assembly will need to activate the single_threaded_async feature.

I believe we shouldn't automatically turn on the single_threaded_async behavior for wasm targets because

  1. web assembly will probably support multi-threading before very long
  2. users may have reasons for wanting the single-threaded execution even without wasm

so we'll just keep it as its own feature, but we should provide clear documentation on when, how, and why to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant