Skip to content

EventEnvelope

Defined in: namespaces.ts:548

Envelope delivered to subscribeTopic handlers and returned by replay.

topic: string

Defined in: namespaces.ts:550

Topic name.


payload: unknown

Defined in: namespaces.ts:552

Event payload (schema-validated at emit).


optional emittedBy?: string

Defined in: namespaces.ts:554

Emitting plugin id.


optional ts?: string

Defined in: namespaces.ts:556

Emit timestamp (ISO 8601).


optional eventId?: string

Defined in: namespaces.ts:558

Unique event id.


optional metadata?: Record<string, unknown>

Defined in: namespaces.ts:560

Optional emit metadata.