Skip to main content

Interface: CompositeEvent

Base interface for all M2Node events.

Extends

Indexable

[key: string]: number | string | boolean | object | null | undefined

Properties

compositeEventType

compositeEventType: string

The type of the composite event.

Defined in

M2Event.ts:52


compositeType

compositeType: string

The type of the composite node.

Defined in

M2Event.ts:50


handled?

optional handled: boolean

Has the event been taken care of by the listener and not be dispatched to other targets?

Inherited from

M2NodeEvent.handled

Defined in

M2Event.ts:26


iso8601Timestamp

iso8601Timestamp: string

Timestamp of th event, from new Date().toISOString()

Inherited from

M2NodeEvent.iso8601Timestamp

Defined in

M2Event.ts:30


sequence?

optional sequence: number

Sequence number of event.

Remarks

Sequence number is guaranteed to reflect order of events, but not necessarily contiguous, e.g., could be 1, 2, 5, 10, 11, 24.

Inherited from

M2NodeEvent.sequence

Defined in

M2Event.ts:35


target

target: string | Composite

The Composite on which the event occurred. If the event has gone through serialization, the string will be the composite's UUID.

Overrides

M2NodeEvent.target

Defined in

M2Event.ts:47


timestamp

timestamp: number

Timestamp of the event, from performance.now()

Inherited from

M2NodeEvent.timestamp

Defined in

M2Event.ts:28


type

type: "Composite"

Type of event.

Overrides

M2NodeEvent.type

Defined in

M2Event.ts:48