Implementing PubSub Pattern

Community

Implement Pub-Sub with Channels and Rx.NET.

Authorchristian289
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables decoupled, event-driven communication by providing Pub-Sub patterns with Rx.NET and System.Threading.Channels in .NET projects, helping components react to events without tight coupling.

Core Features & Use Cases

  • Pub-Sub architecture using System.Reactive (Rx.NET) and System.Threading.Channels for in-process messaging.
  • Built-in backpressure and safe completion with bounded channels.
  • DI-friendly producers and consumers leveraging IObservable<T> and ChannelReader/Writer.
  • Use cases include reactive UI events, data streams, and cross-service event notification in WPF/.NET apps.

Quick Start

Compose a minimal producer that publishes messages to a Channel and a consumer that reads and processes them.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: Implementing PubSub Pattern
Download link: https://github.com/christian289/dotnet-with-claudecode/archive/main.zip#implementing-pubsub-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.