Notifier

interface Notifier<E>(source)

Interface for objects that can notify about events.

This interface represents the producer side of the observer pattern, providing the ability to send events to registered listeners.

Parameters

E

The type of event that can be notified

Inheritors

Functions

Link copied to clipboard
abstract fun notify(event: E)

Notifies all registered listeners about an event.