Event Message
@Serializable
EventMessage represents the information an event contains.
Parameters
type
The type of object emitting the event
action
The type of event
actor
scope
Scope of the event. Engine events are local scope. Cluster (Swarm) events are swarm scope.
time
Timestamp of event
time Nano
Timestamp of event, with nanosecond accuracy
Constructors
Link copied to clipboard
constructor(type: EventMessage.Type? = null, action: String? = null, actor: EventActor? = null, scope: EventMessage.Scope? = null, time: Long? = null, timeNano: Long? = null)