dotnet / dotnet/vblang

Agile Async methods

Open
#115 0 comments 1 reaction 0 assignees View on GitHub
Proposal
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

I propose a new modifier for Async methods `Agile` which would basically insert `.ConfigureAwait(False)` after every _awaited_ expression automagically. We'd probably not do that if the expression were a ConfigureAwait call to avoid redundancy. It sucks that we make people insert this call at the site of EVERY Await. We could solve this with a modifier and maybe even an assembly wide option for class libraries. I'm sure there are several million lines of Roslyn code we could clean up with this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.