Skip to content

v1.0.0

Choose a tag to compare

@dkarkanas dkarkanas released this 06 Aug 08:07
· 8 commits to develop since this release

Added

  • Initial beta release of Dispatchio, a lightweight in-process notification dispatcher for .NET.
  • Core abstractions:
    • INotification — marker interface for notifications/events.
    • INotificationHandler<TNotification> — handler contract for processing notifications.
    • IEventPublisher — entry point for publishing notifications to registered handlers.
    • IPublishStrategy — pluggable strategy contract controlling how handlers are invoked.
  • Built-in publish strategies:
    • ForeachAwaitPublishStrategy — invokes handlers sequentially, awaiting each one.
    • WhenAllPublishStrategy — invokes handlers concurrently via Task.WhenAll.
  • EventBusOptions for configuring dispatch behavior.
  • Dependency injection integration via IServiceCollection extension methods with automatic handler registration.
  • Multi-targeting support: netstandard2.0, net8.0, net9.0, and net10.0.
  • BenchmarkDotNet benchmark suite.
  • Sample console application demonstrating usage.
  • Unit test suite covering the publisher, publish strategies, and DI registration.