BailEvent <Args, Scope>
Hierarchy
- BaseEvent<boolean | void, Args, Scope>- BailEvent
 
Index
Constructors
Properties
Methods
Constructors
constructor
- Type parameters- Args: unknown[]
- Scope: string = string
 
Properties
listeners
name
Methods
clearListeners
emit
- Synchronously execute listeners with the defined arguments. If a listener returns - false, the loop with be aborted early, and the emitter will return- true(for bailed).
getListeners
- Return a set of listeners for a specific event scope. 
getScopes
- Return a list of all scopes with listeners. 
listen
- Register a listener to the event. 
once
- Register a listener to the event that only triggers once. 
unlisten
- Remove a listener from the event. 
Remove all listeners from the event.