-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Multiple root components start in parallel. #34634
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
Conversation
src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHost.cs
Outdated
Show resolved
Hide resolved
There wasn't a way to make this comply with the DynamicallyAccessedMembers code analysis.
SteveSandersonMS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
I'm not sure how practical it is to E2E test this. If you think there is a straightforward way then that would be cool, but if it involves adding a load of extra testing infrastructure then I'm not sure the tradeoff would be worth it.
Actually it might be much more reasonable to add unit tests though. I see we already have CircuitHostTest - that could probably be extended to cover this new behavior. What do you think?
Multiple root components start in parallel.
Each root component is added and processed in parallel, rather than waiting for one to become quiescent before adding the next.
PR Description
Hosts now add each root component ignoring the task awaiting quiescence. Then, after all root components are added, the host awaits quiescence for all components.
Addresses #34306