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

Method SetEventBus

internal/server/server.go:675–677  ·  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

673
674// SetEventBus attaches an event bus for real-time SSE streaming.
675func (s *Server) SetEventBus(bus events.EventBus) {
676 s.events = bus
677}
678
679// SetCollabRoomManager attaches a Yjs collab RoomManager (PLAN-1248).
680// When set, the /api/v1/collab/{itemID} WebSocket endpoint hands new

Callers 4

testServerPostgresFunction · 0.80
testServerWithEventsFunction · 0.80
serveCmdFunction · 0.80

Calls

no outgoing calls

Tested by 3

testServerPostgresFunction · 0.64
testServerWithEventsFunction · 0.64