dotnet-channels
CommunityHigh-performance .NET producer/consumer queues.
AuthorAGIBuild
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a deep guide to using System.Threading.Channels for efficient, thread-safe communication between producers and consumers in .NET applications, optimizing throughput and resource utilization.
Core Features & Use Cases
- Channel Creation: Understand bounded and unbounded channels, and how to configure back-pressure.
- Producer/Consumer Patterns: Implement robust patterns for single/multiple producers and consumers, including graceful shutdown and draining.
- IAsyncEnumerable Integration: Leverage channels with
await foreachand LINQ async operators for seamless data streaming. - Use Case: Build a high-throughput API endpoint that accepts incoming requests, queues them for background processing using a bounded channel to prevent overload, and processes them efficiently with multiple worker tasks.
Quick Start
Create a bounded channel with a capacity of 1000 items and use the WriteAsync method to send an item to the channel.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-channels Download link: https://github.com/AGIBuild/Agibuild.Fulora/archive/main.zip#dotnet-channels Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.