MCPcopy Create free account
hub / github.com/astercloud/aster / OnRoomRegistered

Method OnRoomRegistered

pkg/asteros/interfaces/agui.go:126–134  ·  view source on GitHub ↗

OnRoomRegistered Room 注册事件

(r *core.Room)

Source from the content-addressed store, hash-verified

124
125// OnRoomRegistered Room 注册事件
126func (i *AGUIInterface) OnRoomRegistered(r *core.Room) error {
127 if i.opts.EnableLogging {
128 fmt.Printf(" [AGUI] Room registered with %d members\n", r.GetMemberCount())
129 fmt.Printf(" → Syncing to Control Plane\n")
130 }
131
132 // 同步到控制平面
133 return i.syncRoom(r)
134}
135
136// OnWorkflowRegistered Workflow 注册事件
137func (i *AGUIInterface) OnWorkflowRegistered(wf workflow.Agent) error {

Callers

nothing calls this directly

Calls 3

syncRoomMethod · 0.95
PrintfMethod · 0.80
GetMemberCountMethod · 0.80

Tested by

no test coverage detected