klyn.events.EventDispatcher.dispatch
method
public dispatch(payload as T) as Void:
Description

Emits a pre-built event payload.

User-facing code should prefer emit this.eventName(...) so the compiler constructs the payload from the event declaration type.

Parameters
ParameterDescription
payloadPayload passed to each handler.
Example
dispatcher.dispatch(Event(source))