MCPcopy Create free account
hub / github.com/arctic-cli/interface / handler

Function handler

packages/arctic/src/server/server.ts:131–135  ·  view source on GitHub ↗
(event: any)

Source from the content-addressed store, hash-verified

129 log.info("global event connected")
130 return streamSSE(c, async (stream) => {
131 async function handler(event: any) {
132 await stream.writeSSE({
133 data: JSON.stringify(event),
134 })
135 }
136 GlobalBus.on("event", handler)
137 await new Promise<void>((resolve) => {
138 stream.onAbort(() => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected