-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
.net/prodPri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityarea-System.Collectionsunspecified/svcuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
I have two suggestions:
- Add a "Remarks" section to
GetConsumingEnumerable()that is identical to the remarks section forGetConsumingEnumerable(CancellationToken). It contains several useful facts about howGetConsumingEnumerable()works. Putting it in the "Remarks" section forGetConsumingEnumerable(CancellationToken)isn't sufficient because people like me that don't care about cancellation are unlikely to look atGetConsumingEnumerable(CancellationToken). - In the "Remarks" section for
Take, mention that if you want to consume items in a loop, consider usingGetConsumingEnumerablewhich is designed for this use case. I'm assuming that's the relationship betweenTakeandGetConsumingEnumerable. It took some thinking on my part to infer this because it's not explicitly stated anywhere. You might also want to make a statement aboutTakein the "Remarks" section forGetConsumingEnumerable.
Adam Comella
Microsoft Corp.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: f8df56b2-d5da-8d38-ea9d-7f2fb50f877f
- Version Independent ID: f903165e-d4c7-939f-6679-413310730fe6
- Content: BlockingCollection.GetConsumingEnumerable Method (System.Collections.Concurrent)
- Content Source: [xml/System.Collections.Concurrent/BlockingCollection
1.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Collections.Concurrent/BlockingCollection1.xml) - Service: unspecified
- Product: .net
- GitHub Login: @dotnet-bot
- Microsoft Alias: dotnetcontent
Metadata
Metadata
Assignees
Labels
.net/prodPri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityarea-System.Collectionsunspecified/svcuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner