Uh oh!
There was an error while loading. Please reload this page.
Document .NET 11 ChangeToken.OnChange async-overload rebinding behavior - #55214
Merged
gewarren merged 4 commits intoAug 3, 2026
Merged
Conversation
1 task
CopilotAI
changed the title
[WIP] Update ChangeToken.OnChange overloads for async callbacksDocument .NET 11 Aug 3, 2026
ChangeToken.OnChange async-overload rebinding behaviorgewarren
marked this pull request as ready for review
August 3, 2026 18:42
gewarren
approved these changes
Aug 3, 2026
Uh oh!
There was an error while loading. Please reload this page.
…nc-overloads-rebind-callbacks.md
adegeo
approved these changes
Aug 3, 2026
Uh oh!
There was an error while loading. Please reload this page.
gewarren
deleted the
copilot/breaking-change-update-changetoken-onchange
branch
August 3, 2026 19:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In .NET 11 Preview 7, new
ChangeToken.OnChangeasync overloads (Func<Task>/Func<TState, Task>) can silently change overload resolution for existingasync/Taskcallbacks after recompilation. The docs now explicitly describe the behavioral shift fromasync void-style fire-and-forget semantics to task-completion-based re-registration.New breaking-change article (.NET 11 / Extensions)
docs/core/compatibility/extensions/11/changetoken-onchange-async-overloads-rebind-callbacks.md.Compatibility navigation and index updates
docs/core/compatibility/11.md(Extensions table)docs/core/compatibility/toc.yml(.NET 11 > Extensions)Related primitives doc update
docs/core/extensions/primitives.mdto reflect thatChangeToken.OnChangeconsumers can now be synchronous (Action/Action<TState>) or asynchronous (Func<Task>/Func<TState, Task>).Internal previews