CUB-202: add real-time event handlers for sessions.changed, presence, agent.config
Some checks failed
Dev Build / build-test (pull_request) Failing after 0s
Some checks failed
Dev Build / build-test (pull_request) Failing after 0s
This commit is contained in:
@@ -213,6 +213,9 @@ func (c *WSClient) connectAndRun(ctx context.Context) error {
|
||||
c.logger.Warn("initial sync failed, will continue with read loop", "error", err)
|
||||
}
|
||||
|
||||
// Step 2c: Register live event handlers
|
||||
c.registerEventHandlers()
|
||||
|
||||
// Step 3: Read loop
|
||||
return c.readLoop(ctx, conn)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user