SetEventBus attaches an event bus for real-time SSE streaming.
(bus events.EventBus)
| 665 | |
| 666 | // SetEventBus attaches an event bus for real-time SSE streaming. |
| 667 | func (s *Server) SetEventBus(bus events.EventBus) { |
| 668 | s.events = bus |
| 669 | } |
| 670 | |
| 671 | // SetCollabRoomManager attaches a Yjs collab RoomManager (PLAN-1248). |
| 672 | // When set, the /api/v1/collab/{itemID} WebSocket endpoint hands new |
no outgoing calls