MCPcopy
hub / github.com/claude-code-best/claude-code / addSlaveClient

Function addSlaveClient

src/hooks/useMasterMonitor.ts:245–249  ·  view source on GitHub ↗
(name: string, client: PipeClient)

Source from the content-addressed store, hash-verified

243}
244
245export function addSlaveClient(name: string, client: PipeClient): void {
246 attachPipeEntryEmitter(name, client)
247 _slaveClients.set(name, client)
248 emitSlaveClientRegistryChanged()
249}
250
251export function removeSlaveClient(name: string): PipeClient | undefined {
252 const client = _slaveClients.get(name)

Callers 2

callFunction · 0.85

Calls 3

attachPipeEntryEmitterFunction · 0.85
setMethod · 0.80

Tested by

no test coverage detected