InMemoryEventBus InMemoryEventBus is a lightweight implementation of an in-memory event bus, designed to facilitate communication between components within an application. It provides a simple and efficient way to publish and subscribe to events, enabling loose coupling and improved modularity in your codebase.
Features Publish-subscribe pattern for intra-application communication. Lightweight and efficient in-memory message passing. Simple API for subscribing to events and publishing messages. Support for synchronous and asynchronous event handling. Thread-safe implementation for concurrency safety. Dependencies This project makes use of the following dependencies:
MediatR - A simple mediator implementation in .NET. It provides support for the CQRS (Command Query Responsibility Segregation) pattern. System.Channels - The System.Channels namespace contains types for implementing producer-consumer scenarios.