Skip to content

Use AsyncServiceScope in Background Services#1736

Merged
bhazen merged 1 commit into
mainfrom
beh/async-service-scope
Jan 27, 2025
Merged

Use AsyncServiceScope in Background Services#1736
bhazen merged 1 commit into
mainfrom
beh/async-service-scope

Conversation

@bhazen

@bhazen bhazen commented Jan 27, 2025

Copy link
Copy Markdown
Contributor

Changes background services from to use AsyncServiceScope to support services which implement IAsyncDisposable.

It is worth noting we do have one other spot we create a scope. However, the other instance of creating a scope is in code called during startup and is not currently asynchronous. Updating that feels like a breaking change and has been kept out of scope for these changes.

@bhazen bhazen requested a review from josephdecock January 27, 2025 18:06
@bhazen bhazen merged commit 292e75d into main Jan 27, 2025
@bhazen bhazen deleted the beh/async-service-scope branch January 27, 2025 21:31
@josephdecock josephdecock added the area/products/is IdentityServer label Jan 28, 2025
@josephdecock josephdecock added this to the is-7.2.0 milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/products/is IdentityServer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants