Removes the specified listener from the listener array for the event named eventName.
Optional
eventName: EventThe name of the event.
Optional
listener: ListenerThe callback function.
Optional
context: anyThe value of this
provided for the call to listener
Returns a reference to the EventEmitter
, so that calls can be chained.
Adds the listener function to the end of the listeners array for the event named eventName.
The name of the event.
The callback function.
Optional
context: anyThe value of this
provided for the call to listener
Returns a reference to the EventEmitter
, so that calls can be chained.
Adds a one-time listener function for the event named eventName.
The name of the event.
The callback function.
Optional
context: anyThe value of this
provided for the call to listener
Returns a reference to the EventEmitter
, so that calls can be chained.
Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.
Rest
...args: any[]Returns a reference to the EventEmitter
, so that calls can be chained.
Whatsapp
76521
Whatsapp
34342 >= 2.2204.13
Whatsapp
876521 >= 2.2222.8