Skip to content

bus

etrack.ports.bus

ports/bus: the fan-out between the channel and the sinks — publish never waits, each sink is served on its own.

publish returns at once from any thread: a full sink drops the event and counts it, it never slows the producer. A subscription may carry a Select, the project's policy for that sink: the event as is, transformed, or None to leave it out — and a Redact, that sink's own mask over what the frame carried (applied before the select). Both run on the sink's own worker, never on the producer's path. A tracker with no mask of its own and a mask per subscription is the way one sink receives clear text while the others never do.

BusPort

Bases: Provider, Protocol

Publish without waiting, subscribe a sink with its policy, and count what each sink lost.

Delivery

Bases: StrEnum

What a subscription is promised: BEST_EFFORT drops what a full queue cannot hold and counts it; GUARANTEED never drops — its queue grows instead, so subscribe that way only a sink that takes few phases (a run's END) and stores what it takes before it sends (an outbox).