EventMessage represents the information an event contains. EventMessage

interface EventMessage {
    Action?: string;
    Actor?: EventActor;
    Type?: EventMessageTypeEnum;
    scope?: EventMessageScopeEnum;
    time?: number;
    timeNano?: number;
}

Properties

Action?: string

The type of event

Actor?: EventActor

The type of object emitting the event

Scope of the event. Engine events are local scope. Cluster (Swarm) events are swarm scope.

time?: number

Timestamp of event

timeNano?: number

Timestamp of event, with nanosecond accuracy