Constructs a new SequentialEvent.
Events hash attached to this SequentialEvent instance
Triggers each corresponding handlers in sequence.
Name of the event to trigger
Arguments to pass to each handler. Note that those arguments will be appended with previous handler resolution value, if any.
Check if this instance has listeners for the provided event. Alias for hasEvent
Name of the event to check
Check if this instance has listeners for the provided event
Name of the event to check
Remove one, many or all event handlers on some events.
String containing event names to unbind. You may indicate several events at once by separating with spaces
Function or array of functions to unbind on specified events
Remove event handlers on several events at once.
Object with keys as event names containing a handler or an array of handlers to remove.
Remove all events handlers
Pass true to delete all handlers
Add one or many event handlers.
String containing event names to bind. You may indicate several events at once by separating with spaces
Function or array of functions to bind on specified events
Add event handlers on several events at once.
Object with keys as event names containing a handler or an array of handlers to add.
Add one or many event handlers. These listeners will be executed once, then are removed
String containing event names to bind. You may indicate several events at once by separating with spaces
Function or array of functions to bind on specified events
Add event handlers on several events at once. These listeners will be executed once, then are removed
Object with keys as event names containing a handler or an array of handlers to add.
Generated using TypeDoc
Event emitter that guarantees sequential execution of handlers. Each handler may return a Promise.
Node EventEmitter.