[API Proposal]: AsyncContext for cancellation and ConfigureAwait #102111
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.Threading.Tasks
Background and motivation
To avoid passing cancellation and ConfigureAwait in every callsite, there's room to use async local to propagate the value for all the subsequent call sites.
API Proposal
Extracted from #94620 (comment)
Popping the value would be done internally.
API Usage
Alternative Designs
No response
Risks
No response
The text was updated successfully, but these errors were encountered: