Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async Method Return Type #17127

Closed
tanveerbadar opened this issue Feb 19, 2020 — with docs.microsoft.com · 1 comment · Fixed by #23340
Closed

Async Method Return Type #17127

tanveerbadar opened this issue Feb 19, 2020 — with docs.microsoft.com · 1 comment · Fixed by #23340
Assignees
Labels
async-task-programming/subsvc doc-enhancement Improve the current content [org][type][category] dotnet-csharp/svc fundamentals/subsvc Pri1 High priority, do before Pri2 and Pri3

Comments

Copy link

tanveerbadar commented Feb 19, 2020

Beginning with C# 8.0, async methods can also return IAsyncEnumerable<T>, something not mentioned in the document.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 158425f1-86b1-101a-9172-14c944867784
  • Version Independent ID: 6386f636-99b3-93c3-ca9e-0134f3e3be10
  • Content: Methods - C# Guide
  • Content Source: docs/csharp/methods.md
  • Product: dotnet-csharp
  • Technology: csharp-fundamentals
  • GitHub Login: @BillWagner
  • Microsoft Alias: wiwagn
@BillWagner BillWagner added doc-enhancement Improve the current content [org][type][category] P2 and removed ⌚ Not Triaged Not triaged P2 labels Feb 20, 2020
@BillWagner
Copy link
Member

Thanks for writing this @tanveerbadar

In addition to IAsyncEnumerable<T>, we should check to make sure ValueTask<T> and the pattern based async returns are mentioned.

@PRMerger6 PRMerger6 added the Pri2 label Jan 16, 2021
@gewarren gewarren added Pri1 High priority, do before Pri2 and Pri3 and removed P1 Pri2 labels Jan 29, 2021
BillWagner added a commit to BillWagner/docs that referenced this issue Mar 16, 2021
The `IAsyncEnumerable` type was missing.

Fixes dotnet#17127
@BillWagner BillWagner added this to To do in March 2021 via automation Mar 16, 2021
@BillWagner BillWagner moved this from To do to In progress in March 2021 Mar 16, 2021
@BillWagner BillWagner self-assigned this Mar 16, 2021
Async, await, tasks, and parallel programming in .NET automation moved this from To do to Done Mar 17, 2021
March 2021 automation moved this from In progress to Done Mar 17, 2021
BillWagner added a commit that referenced this issue Mar 17, 2021
The `IAsyncEnumerable` type was missing.

Fixes #17127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async-task-programming/subsvc doc-enhancement Improve the current content [org][type][category] dotnet-csharp/svc fundamentals/subsvc Pri1 High priority, do before Pri2 and Pri3
Projects
March 2021
  
Done
Development

Successfully merging a pull request may close this issue.

6 participants