Create a builtin for event management #124
Labels
enhancement
New feature or request
priority:medium
question
Further information is requested
research
This one only requires research
Description
Instead of
listenEvent
, could we set up a builtinEvent
?It could have an
on
method (Event.on(eventName, eventListener)
) and in the future anemit
method to emit events (Event.emit(eventName [, ...args])
)What do you think about it?
Examples
The text was updated successfully, but these errors were encountered: