Skip to content

Documentation / Listeners

Listeners ​

Generic utility functions and types for listeners to non-cascading events.

Type Aliases ​

Type AliasDescription
ListenerA listener function that is called when an event is broadcast.
ListenerSetUses a Map instead of a Set because a Map preserves insertion order when iterating through items.

Functions ​

FunctionDescription
broadcastWill call listeners in the order which they were added.