Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 1.21 KB

README.md

File metadata and controls

18 lines (11 loc) · 1.21 KB

AsyncBus

NuGet Build status

AsyncBus is a fully-asynchronous, in-memory implementation of a message bus used to support usages of the publish-subscribe pattern with an application's architecture.

It is inspired by and similar to MemBus. The motivation for this was to provide better support for applications relying heavily on the Task Asynchronous Pattern (i.e. async/await), such as in ASP.NET Core projects.

A key distinction between AsyncBus and MemBus is that it allows you to subscribe callbacks that return a task and can therefore run asynchronously. Publishing messages on the bus will return a task that only signals completion when the tasks returned by all notified subscribers run to completion themselves.

Installation

AsyncBus targets the .NET Standard and can be used within .NET Core and .NET Framework applications. It is available on the standard NuGet feed and can be installed from there. For example, using the dotnet CLI:

dotnet add package AsyncBus