Skip to main content

Module event_bus

Module event_bus 

Source
Expand description

Per-repo event bus for cross-session awareness.

Uses tokio::sync::broadcast channels to fan out workspace events to all subscribers within the same repository. Each repo gets its own channel, lazily created on first publish or subscribe.

Structs§

RepoEventBus
A per-repository event bus backed by tokio::sync::broadcast.

Enums§

SessionEvent
Events broadcast within a repository for cross-session coordination.