Skip to content

Documentation / @super-line/core / InspectorEnvelope

Interface: InspectorEnvelope ​

Defined in: packages/core/src/inspector.ts:169

Cross-cutting metadata about one inspection record, wrapping the InspectorEvent it describes. The event stays a pure "what happened" union; the envelope carries when the origin node emitted it, how big the (redacted) payload snapshot was, and which node emitted it. This is what travels on the inspector events topic.

Properties ​

byteSize? ​

optional byteSize?: number

Defined in: packages/core/src/inspector.ts:174

Encoded byte size of the redacted payload snapshot; absent for events with no payload.


event ​

event: InspectorEvent

Defined in: packages/core/src/inspector.ts:170


originNodeId ​

originNodeId: string

Defined in: packages/core/src/inspector.ts:176

Id of the node that emitted the event.


ts ​

ts: number

Defined in: packages/core/src/inspector.ts:172

Origin-node emit time (epoch ms).

Released under the MIT License.