Optionaloptions: QueueOptionsProtectedconcurrencyProtecteddelayProtectedlistenersProtectedmaxProtectedprocessesProtectedstatusProtectedtimeoutCounts the listeners that match the name, callback and options. If no arguments are passed, all listeners will be counted.
Optionalname: KOptionalcallback: QueueEvents[K]Optionaloptions: EventEmitterListenerOptionsEmits an event.
Returns the names of the events that have listeners.
Returns the listeners that match the name, callback and options. If no arguments are passed, all listeners will be returned.
Optionalname: KOptionalcallback: QueueEvents[K]Optionaloptions: EventEmitterListenerOptionsReturns the maximum number of listeners that can be registered for a single event.
Checks if the event has listeners that match the name, callback and options.
Optionalname: KOptionalcallback: QueueEvents[K]Optionaloptions: EventEmitterListenerOptionsRemoves the listeners that match the name, callback and options. If no arguments are passed, all listeners will be removed.
Optionalname: KOptionalcallback: QueueEvents[K]Optionaloptions: EventEmitterListenerOptionsAdds a listener, which will be called when the event is emitted.
Optionally the listener can be removed after the first call with the once option.
Optionally the listener can be prepended to the listeners array with the prepend option.
Optionaloptions: EventEmitterListenerOptionsAdds a listener, which will be called only once when the event is emitted.
Optionaloptions: EventEmitterListenerOptionsAdds a listener, which will be called first when the event is emitted.
Optionaloptions: EventEmitterListenerOptionsProtectedrunProtectedrunpSets the listeners.
Sets the maximum number of listeners that can be registered for a single event.
The EventEmitter class is used to emit events and register listeners. The API is based on the Node.js EventEmitter API.
Aracna Reference