-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
offers to start and stop IHostedService concurrently #84048
Conversation
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Tagging subscribers to this area: @dotnet/area-extensions-hosting Issue DetailsFixes #68036 I resumed the work of @jerryk414 on #75894 PR, so shout out to him for most of the work here. I addressed the remaining remarks on that PR.
|
src/libraries/Microsoft.Extensions.Hosting/src/Internal/HostingLoggerExtensions.cs
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs
Outdated
Show resolved
Hide resolved
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.
LGTM, thank you!
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.
LGTM. Thanks @pedrobsaila and @jerryk414!
src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs
Outdated
Show resolved
Hide resolved
I just happened upon this PR and was discussing with @buyaa-n and @stephentoub. Because we are still running It's unclear to me if the goal of this feature was to parallelize all of the work done in @pedrobsaila @jerryk414 @eerhardt -- what do you think? |
I think the goal of this issue was to parallelize all of the work done in StartAsync|StopAsync
You are right, it is sequential. I'll fix it |
Fixes #68036
I resumed the work of @jerryk414 on #75894 PR, so shout out to him for most of the work here. I addressed the remaining remarks on that PR.