WaterfallEvent <Arg, Scope>
Hierarchy
- BaseEvent<Arg, [Arg], Scope>- WaterfallEvent
 
Index
Constructors
Properties
Methods
Constructors
constructor
- Type parameters- Arg
- Scope: string = string
 
Properties
listeners
name
Methods
clearListeners
emit
- Synchronously execute listeners with the defined argument value. The return value of each listener will be passed as an argument to the next listener. 
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.