-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
C# 8 adds an additional return type: IAsyncEnumerable<T> as long as you're using yield return instead of just return.
See the "What's new in C# 8" documentation under Asynchronous Streams: https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8#asynchronous-streams
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: d055727b-c97c-4d25-39b8-a4d3f21d0444
- Version Independent ID: c8a7c6f1-8ee1-5030-db12-3db65a968501
- Content: Async Return Types (C#)
- Content Source: docs/csharp/programming-guide/concepts/async/async-return-types.md
- Product: dotnet-csharp
- Technology: csharp-async
- GitHub Login: @BillWagner
- Microsoft Alias: wiwagn