View Source LiveEvent.Event (live_event v0.1.0)

Represents an event message.

This is documented in the unlikely chance that the destination process or component needs to directly handle it.

This struct should not be constructed directly by the developer - use LiveEvent.send_event/4 and LiveEvent.emit/3 instead.

Link to this section Summary

Link to this section Types

@type destination() :: pid() | {module(), String.t() | atom()}
@type t() :: %LiveEvent.Event{name: atom(), payload: any(), source: any()}