Constructor
new EventExecutor(runHandler)
Parameters:
| Name | Type | Description |
|---|---|---|
runHandler |
- Source:
Classes
Members
runHandler
- Source:
Methods
execute(source, eventopt) → {any}
Executes the event handler for a given source.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
source |
string | The source code or identifier for the event handler. |
||
event |
Event | null |
<optional> |
null | The event object, if any. |
- Source:
Returns:
The result of the event handler execution.
- Type
- any