events/events library

Classes

NyEvent
Base interface for Events
NyEventBus
NyEventCallbackListener
NyEventSubscription<T extends NyEvent>
Subscription handle that can be used to cancel listening
NyListener
Base class for listeners

Extensions

NyEventExtension on NyEvent
Extension on NyEvent that adds the new functionality

Functions

listenOn<E extends NyEvent>(dynamic callback(Map? data)) NyEventSubscription<NyEvent>