Skip to main content

Module namespace_filter

Module namespace_filter 

Source
Expand description

Namespace-aware event gating at the broadcast/encode seam. Namespace-aware event gating at the broadcast/encode seam.

The engine’s broadcast channel is engine-global and EventFilter has no namespace dimension, while one shared Engine serves every tenant. Every subscription kind — per-workflow, filtered, and firehose — must therefore pass each live event through this gate before a frame is encoded, so a tenant’s socket can never receive (or be labeled with) another tenant’s events.

Structs§

NamespaceEventGate
Per-connection gate deciding whether an event belongs to the authorized namespace, and what workflow type its workflow carries.

Enums§

GateVerdict
Per-event admission decision returned by NamespaceEventGate::admit.