MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / once

Method once

src/server/mcp-lifecycle.ts:79–79  ·  view source on GitHub ↗
(event: string, listener: (...args: unknown[]) => void)

Source from the content-addressed store, hash-verified

77
78interface LifecycleStreamLike {
79 once(event: string, listener: (...args: unknown[]) => void): this;
80 removeListener(event: string, listener: (...args: unknown[]) => void): this;
81}
82

Callers 15

mainFunction · 0.65
attachStreamFunction · 0.65
defaultExecutorFunction · 0.65
waitForChildToStopFunction · 0.65
waitForExitFunction · 0.65
waitForUnexpectedExitFunction · 0.65
listenFunction · 0.65
terminateProcessFunction · 0.65
attachProcessHandlersFunction · 0.65
onceMethod · 0.65

Implementers 2

TestStdinsrc/server/__tests__/mcp-lifecycle.tes
TestProcesssrc/server/__tests__/mcp-lifecycle.tes

Calls

no outgoing calls

Tested by 6

waitForExitFunction · 0.52
waitForUnexpectedExitFunction · 0.52
listenFunction · 0.52
onceMethod · 0.52
onceMethod · 0.52
listenFunction · 0.52