EventHookRegistry

A special java.util.concurrent.CopyOnWriteArrayList that stores EventHooks.

All elements are ordered descending by EventHook.priority.

Equality of EventHooks is defined by reference equality.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addIfAbsent(eventHook: EventHook<E>)
Link copied to clipboard
fun clear()
Link copied to clipboard
fun remove(eventHook: EventHook<E>)
fun remove(eventListener: EventListener)