Optional
options: UDPHelperOptionsOptional
context: anyReturn an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Optional
fn: (Optional
context: anyOptional
once: booleanAdd a listener for a given event.
Optional
context: anyAdd a one-time listener for a given event.
Optional
context: anyRemove all listeners, or those of the specified event.
Optional
event: keyof UDPHelperEventsRemove the listeners of a given event.
Optional
fn: (Optional
context: anyOptional
once: boolean
Calls each of the listeners registered for a given event.