Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Publish
Method
Publish
coderd/database/pubsub/pubsub.go:42–42 ·
view source on GitHub ↗
(event string, message []byte)
Source
from the content-addressed store, hash-verified
40
41
type
Publisher
interface
{
42
Publish(event string, message []byte) error
43
}
44
45
// Pubsub is a generic interface for broadcasting and receiving messages.
Callers
15
New
Function · 0.65
publishWorkspaceEvent
Function · 0.65
TestWatchChats
Function · 0.65
Test_logFollower_EndOfLogs
Function · 0.65
publishWorkspaceUpdate
Method · 0.65
publishWorkspaceAgentLogsUpdate
Method · 0.65
publishTemplateUpdate
Method · 0.65
publishAIProvidersChanged
Method · 0.65
publishChatTitleChange
Function · 0.65
publishChatConfigEvent
Function · 0.65
dispatch
Method · 0.65
PublishWorkspaceBuildUpdate
Function · 0.65
Calls
no outgoing calls
Tested by
15
publishWorkspaceEvent
Function · 0.52
TestWatchChats
Function · 0.52
Test_logFollower_EndOfLogs
Function · 0.52
TestDriver
Function · 0.52
TestPubsubMemory
Function · 0.52
TestPGPubsub_Metrics
Function · 0.52
TestPGPubsubDriver
Function · 0.52
TestPubsub
Function · 0.52
TestPubsub_ordering
Function · 0.52
TestPubsub_Disconnect
Function · 0.52
TestMeasureLatency
Function · 0.52
Publish
Method · 0.52