MCPcopy Create free account
hub / github.com/Snapchat/Valdi / dumpHeap

Method dumpHeap

npm_modules/cli/src/utils/daemonClient.ts:366–369  ·  view source on GitHub ↗
(clientId: string, performGC = false)

Source from the content-addressed store, hash-verified

364 }
365
366 async dumpHeap(clientId: string, performGC = false): Promise<unknown> {
367 const resp = await this.forwardAndWait(clientId, DaemonMsgType.DUMP_HEAP_REQUEST, { performGC }, 60_000);
368 return resp['body'];
369 }
370
371 close(): void {
372 this.socket.destroy();

Callers

nothing calls this directly

Calls 1

forwardAndWaitMethod · 0.95

Tested by

no test coverage detected