Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ publish
Method
publish
apps/sim/lib/events/pubsub.ts:17–17 ·
view source on GitHub ↗
(event: T)
Source
from the content-addressed store, hash-verified
15
16
export
interface
PubSubChannel<T> {
17
publish(event: T): void
18
subscribe(handler: (event: T) => void): () => void
19
dispose(): void
20
}
Callers
11
chat-status.ts
File · 0.65
start
Function · 0.65
fireTitleGeneration
Function · 0.65
handleAborted
Function · 0.65
handleError
Function · 0.65
handleSuccess
Function · 0.65
writer.test.ts
File · 0.65
publishToolConfirmation
Function · 0.65
pubsub.ts
File · 0.65
publish
Method · 0.65
markExecutionCancelled
Function · 0.65
Implementers
2
RedisPubSubChannel
apps/sim/lib/events/pubsub.ts
LocalPubSubChannel
apps/sim/lib/events/pubsub.ts
Calls
no outgoing calls
Tested by
no test coverage detected