MCPcopy 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
16export interface PubSubChannel<T> {
17 publish(event: T): void
18 subscribe(handler: (event: T) => void): () => void
19 dispose(): void
20}

Callers 11

chat-status.tsFile · 0.65
startFunction · 0.65
fireTitleGenerationFunction · 0.65
handleAbortedFunction · 0.65
handleErrorFunction · 0.65
handleSuccessFunction · 0.65
writer.test.tsFile · 0.65
publishToolConfirmationFunction · 0.65
pubsub.tsFile · 0.65
publishMethod · 0.65
markExecutionCancelledFunction · 0.65

Implementers 2

RedisPubSubChannelapps/sim/lib/events/pubsub.ts
LocalPubSubChannelapps/sim/lib/events/pubsub.ts

Calls

no outgoing calls

Tested by

no test coverage detected