Skip to main content

Module wire

Module wire 

Source
Expand description

How outcomes travel between roles.

Roles exchange bytes, never shared memory (docs/adr/0006-deployment-topology.md), so the normalizer’s output is encoded before it enters a pipe, and every role reading it decodes the same format. An encoded outcome starts with a byte naming its format, so that a later, more compact format can be read alongside records already waiting in a durable pipe.

Structs§

Envelope
An outcome, and the source definition that produced it.
WireError
Bytes that are not an encoded outcome.