EventEmitter

This class is used to handle events in the controller Extend the Controller class with this class

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun addListener(listener: T)
Link copied to clipboard
fun addMainThreadListener(listener: T)
Link copied to clipboard
fun dispose()
Link copied to clipboard
open fun emitEvent(event: (listener: T) -> Unit)
Link copied to clipboard
fun removeListener(listener: T)
Link copied to clipboard