Skip to main content

Module topic

Module topic 

Source
Expand description

Pub/sub topic routing for kernel IPC.

The TopicRouter manages topic subscriptions and delivers published messages to all subscribers. Topics are arbitrary strings (e.g. “build-status”, “test-results”, “agent.spawned”).

Subscriptions are stored in a DashMap for lock-free concurrent access. Dead subscribers (processes that have exited) are lazily cleaned up during publish.

Structs§

Subscription
A topic subscription entry.
TopicRouter
Pub/sub topic router for kernel IPC.