Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ subscribe
Method
subscribe
apps/sim/lib/events/pubsub.ts:18–18 ·
view source on GitHub ↗
(handler: (event: T) => void)
Source
from the content-addressed store, hash-verified
16
export
interface
PubSubChannel<T> {
17
publish(event: T): void
18
subscribe(handler: (event: T) => void): () => void
19
dispose(): void
20
}
21
Callers
12
store.ts
File · 0.65
chat-status.ts
File · 0.65
waitForToolConfirmation
Function · 0.65
pubsub.ts
File · 0.65
constructor
Method · 0.65
constructor
Method · 0.65
ToolSubBlockRenderer
Function · 0.65
terminal.tsx
File · 0.65
route.ts
File · 0.65
SandboxCanvasProvider
Function · 0.65
runLocalPi
Function · 0.65
subscribeToCancellationChannel
Method · 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