MCPcopy Index your code
hub / github.com/coder/coder / ChatWatchEventChannel

Function ChatWatchEventChannel

coderd/pubsub/chatwatchevent.go:16–18  ·  view source on GitHub ↗

ChatWatchEventChannel returns the pubsub channel for chat lifecycle events scoped to a single user.

(ownerID uuid.UUID)

Source from the content-addressed store, hash-verified

14// ChatWatchEventChannel returns the pubsub channel for chat
15// lifecycle events scoped to a single user.
16func ChatWatchEventChannel(ownerID uuid.UUID) string {
17 return fmt.Sprintf("chat:owner:%s", ownerID)
18}
19
20// HandleChatWatchEvent wraps a typed callback for
21// ChatWatchEvent messages delivered via pubsub.

Callers 2

publishChatTitleChangeFunction · 0.92
watchChatsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected