event_bus_manager library
A lightweight, application-wide event bus with optional lifecycle owners.
Classes
- EventBusManager
- A global, asynchronous broadcast event bus.
- EventBusOwnerScope
-
A lightweight scope that associates subsequent listeners with
owner. - EventBusSubscriptionOwner
- A framework-independent owner for event subscriptions.
-
EventSubscription<
T> -
A subscription to events of type
T. - EventSubscriptionHandle
- A cancellable subscription managed by EventBusManager.
- EventSubscriptionOwner
- Receives subscriptions that should be cancelled with a lifecycle owner.
Mixins
- EventManagerMixin
- Adds framework-independent event subscription ownership to any object.