MCPcopy Index your code
hub / github.com/code-pushup/cli / flush

Method flush

packages/utils/src/lib/profiler/profiler-node.ts:313–318  ·  view source on GitHub ↗

Flushes buffered performance data to sink.

()

Source from the content-addressed store, hash-verified

311
312 /** Flushes buffered performance data to sink. */
313 flush(): void {
314 if (this.#state === 'closed') {
315 return; // No-op if closed
316 }
317 this.#performanceObserverSink.flush();
318 }
319
320 /** @returns The file path of the WriteAheadLogFile sink */
321 get filePath(): string {

Calls

no outgoing calls

Tested by 1

getNodejsProfilerFunction · 0.36