Skip to main content

Interface: EventMetadata

Defined in: electron/events/TypedEventBus.ts:85

Metadata automatically added to all emitted events.

Remarks

Provides debugging and tracking information for each event emission. This metadata is available in all event listeners under the _meta property.

Properties

busId

busId: string

Defined in: electron/events/TypedEventBus.ts:87

Identifier of the event bus that emitted this event.


correlationId

correlationId: string

Defined in: electron/events/TypedEventBus.ts:89

Unique identifier for tracking this specific event emission.


eventName

eventName: string

Defined in: electron/events/TypedEventBus.ts:91

Name of the event that was emitted.


timestamp

timestamp: number

Defined in: electron/events/TypedEventBus.ts:93

Unix timestamp when the event was emitted.