Skip to main content

serve_event_moq_uds_background

Function serve_event_moq_uds_background 

Source
pub fn serve_event_moq_uds_background(origin: MoqEventOrigin, path: PathBuf)
Expand description

Serve the event-bus origin over a UDS socket so cross-process publishers and subscribers reach the same tree (#275).

Mirrors crate::moq_stream::serve_moq_uds_background, but the moq server is built with with_origin (publish + consume) rather than with_publish alone, because the event plane is bidirectional: a connected client both announces its own event broadcasts (ingested into this origin) and subscribes to broadcasts from every other process.

Called once by the event-service factory. Idempotent: a second call is a no-op (the first bind wins). Connection errors are logged, not fatal.