MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / constructor

Method constructor

src/mcp/transport.ts:352–354  ·  view source on GitHub ↗
(private socket: Socket, private prefix: string = 'cg-sock')

Source from the content-addressed store, hash-verified

350 private closeHandlers: Array<() => void> = [];
351
352 constructor(private socket: Socket, private prefix: string = 'cg-sock') {
353 super();
354 }
355
356 /**
357 * Register a callback fired exactly once when the socket closes (from either

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected