MCPcopy
hub / github.com/garrytan/gstack / end

Method end

make-pdf/src/orchestrator.ts:56–63  ·  view source on GitHub ↗
(stage: string, extra?: string)

Source from the content-addressed store, hash-verified

54 process.stderr.write(`\r\x1b[K${stage}...`);
55 }
56 end(stage: string, extra?: string): void {
57 const start = this.stageStart.get(stage) ?? Date.now();
58 const ms = Date.now() - start;
59 if (this.quiet) return;
60 if (this.verbose) {
61 process.stderr.write(`\r\x1b[K${stage} (${ms}ms)${extra ? ` — ${extra}` : ""}\n`);
62 }
63 }
64 done(extra: string): void {
65 if (this.quiet) return;
66 const total = ((Date.now() - this.totalStart) / 1000).toFixed(1);

Callers 15

generateFunction · 0.95
previewFunction · 0.95
gracefulShutdownFunction · 0.80
startStub401Function · 0.80
respondFunction · 0.80
startStubMcpFunction · 0.80
startStubMcpServerFunction · 0.80
runWithSecretSinkFunction · 0.80
startStubStateServerFunction · 0.80
sendJsonFunction · 0.80
handleLoopbackFunction · 0.80
handleTailnetFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 7

startStub401Function · 0.64
respondFunction · 0.64
startStubMcpFunction · 0.64
startStubMcpServerFunction · 0.64
startStubStateServerFunction · 0.64
startFakeHealthServerFunction · 0.64
startHttpFixtureFunction · 0.64