Skip to content

EventEnvelope

Defined in: namespaces.ts:547

Envelope delivered to subscribeTopic handlers and returned by replay.

topic: string

Defined in: namespaces.ts:549

Topic name.


payload: unknown

Defined in: namespaces.ts:551

Event payload (schema-validated at emit).


optional emittedBy?: string

Defined in: namespaces.ts:553

Emitting plugin id.


optional ts?: string

Defined in: namespaces.ts:555

Emit timestamp (ISO 8601).


optional eventId?: string

Defined in: namespaces.ts:557

Unique event id.


optional metadata?: Record<string, unknown>

Defined in: namespaces.ts:559

Optional emit metadata.