Private
constructorProtected
listenersProtected
listenersThe Listeners that only runs once.
Static
Private
Optional
instanceThe singleton.
Fire the event.
The event name.
Rest
...args: Parameters<TEvents[P][number]>The arguments to pass to the listeners.
Determine whether listeners exist.
Optional
event: Ponly check for listeners for the given event
Optional
listener: Listener<Parameters<TEvents[P][number]>[number]>only check for listeners that match this given listener
Remove the listeners.
Optional
event: Ponly remove listeners for the given event
Optional
listener: TEvents[P][number]only remove the event listener that match the given listener.
Bind the event listener.
Bind the event listener that should only run once.
Bind the event and to the front of the stack.
Bind the event that only runs once to the front of the stack.
Static
getGet the singleton.
Generated using TypeDoc
The Listeners that always run.