public class Event:
Base payload for events emitted by Klyn objects.
The event keyword creates the dispatch infrastructure. Event payload classes derive from this base so every handler can access the emitter and creation timestamp consistently.
class ReloadEvent extends Event: public ReloadEvent(source as Object): super(source)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | sourcesource as Object |
Object that emitted the event. |
| public readonly property | timestamptimestamp as Long |
Event creation timestamp in milliseconds. |