SyncEventMessenger
class SyncEventMessenger<T : Event> : EventPublisher<T> , EventChannel<T>
Content copied to clipboard
Synchronous messenger for generic events. It allows event publishing and also handles the subscription of event listeners.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Functions
Link copied to clipboard
Registers EventListener which will be notified about published events.
Link copied to clipboard
Unregisters the given EventListener.