MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / SetEventBus

Method SetEventBus

internal/server/server.go:667–669  ·  view source on GitHub ↗

SetEventBus attaches an event bus for real-time SSE streaming.

(bus events.EventBus)

Source from the content-addressed store, hash-verified

665
666// SetEventBus attaches an event bus for real-time SSE streaming.
667func (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

Callers 2

testServerWithEventsFunction · 0.80
serveCmdFunction · 0.80

Calls

no outgoing calls

Tested by 1

testServerWithEventsFunction · 0.64