-
Notifications
You must be signed in to change notification settings - Fork 47
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
Documentation: await all unsettled promises after Context.Run #202
Comments
There is currently no way to do this. |
Can the promises cause multi threading issues? eg when i create a list of them and await them all? Are they guaranteed to not run on seperate threads, like in nodejs, where we only have a single thread? |
It sounds not good, but no, we have no guarantees. Each promise will be evaluated in separate thread. This is because |
And i can't override the Promise implementation, as it's pretty hard wired. 😕 |
So, lets fix this. |
How do I await all unsettled promises after
Context.Run()
?js code
cs code
The text was updated successfully, but these errors were encountered: