event_repository library

Classes

IEventBase<T>
Base interface for all application events. Provides common functionality for event data handling and equality comparison.
IEventRepository<E>
Interface for managing application events.
IEventsSubscriptions<E>
Interface for managing type-safe event subscriptions.

Mixins

EventRepositoryMixin<E>
Default implementation of IEventRepository interface.

Functions

createRepositoryEventsSubscriptions<T>(IEventRepository<T> repository, {StreamTransformer<T, T>? transformAll, StreamModifier<T>? modifyAll}) IEventsSubscriptions<T>