Skip to main content

Interface: EventMetadata

Defined in: shared/types/events.ts:41

Metadata automatically attached to events emitted by the typed event bus.

Remarksโ€‹

Enables correlation of renderer and main process events for logging and diagnostics. The metadata is appended at runtime and should be treated as read-only.

Propertiesโ€‹

busIdโ€‹

readonly busId: string

Defined in: shared/types/events.ts:43

Identifier of the event bus that emitted the event.


correlationIdโ€‹

readonly correlationId: string

Defined in: shared/types/events.ts:45

Correlation identifier for pairing related emissions.


eventNameโ€‹

readonly eventName: string

Defined in: shared/types/events.ts:47

Fully-qualified event name.


timestampโ€‹

readonly timestamp: number

Defined in: shared/types/events.ts:49

Millisecond timestamp captured at emission time.