dotnet / dotnet/docs

Create tutorial for specifying and writing an async method builder

Open
#24,972 1 comment 0 reactions 0 assignees View on GitHub
:checkered_flag: Release: .NET 6 advanced-concepts/subsvc async-task-programming/subsvc dotnet-csharp/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

See https://github.com/dotnet/docs/issues/24950#issuecomment-872541399

These are advanced scenarios that can improve performance in specialized scenarios.

Begin by describing the scenarios for `Task`, `Task` and `ValueTask` using their default builders.

The next section should describe how to avoid some allocations by using the pooling async method builders that will be part of .NET 6.0.

Finally, a section can describe how you would write your own custom async methodbuilder.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.