MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / removeSlaveClient

Function removeSlaveClient

src/hooks/useMasterMonitor.ts:251–257  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

249}
250
251export function removeSlaveClient(name: string): PipeClient | undefined {
252 const client = _slaveClients.get(name)
253 detachPipeEntryEmitter(name, client)
254 _slaveClients.delete(name)
255 emitSlaveClientRegistryChanged()
256 return client
257}
258
259export function getSlaveClient(name: string): PipeClient | undefined {
260 return _slaveClients.get(name)

Callers 2

callFunction · 0.85
onDisconnectFunction · 0.85

Calls 4

detachPipeEntryEmitterFunction · 0.85
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected