Skip to content

Release v0.4.0

Choose a tag to compare

@oranheim oranheim released this 23 Apr 15:32
· 30 commits to master since this release

Add EventManager for Asynchronous Event Handling

This release introduces a new module for asynchronous event handling and Server-Sent Events (SSE) support:

New Features

  • EventManager: A generic pub/sub event system with filtering capabilities
  • GroupFilter: Filter for matching events by group ID
  • SSEClient: Client for consuming Server-Sent Events
  • Reactive Event Subscriptions: Modern API for subscribing to events with structured concurrency

Documentation

  • Added sequence diagram for EventManager
  • Extended README with comprehensive event system documentation
  • Included example code for integrating with web applications

Integration

  • Seamless integration with AsyncTaskWorker for task status event publishing
  • Comprehensive test suite demonstrating event-driven patterns

This enhancement enables building reactive systems with real-time notifications, historical event access, and filtered event streams.