MCPcopy Create free account
hub / github.com/arktypeio/arktype / stop

Method stop

ark/attest/cli/trace.ts:260–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 }
259
260 stop(): void {
261 if (this.stopped) return
262 this.stopped = true
263 if (this.timerId) {
264 clearInterval(this.timerId)
265 this.timerId = undefined as never
266 }
267 if (this.totalItems > 0) {
268 this.processedItems = this.totalItems // Ensure final state is 100%
269 this.render(true) // Final render
270 if (canRewriteStdoutLine()) process.stdout?.write("\n") // Move to the next line
271 }
272 }
273}
274
275export const resolveTraceTsconfig = (

Callers 3

updateMethod · 0.95
cli.test.tsFile · 0.45

Calls 3

renderMethod · 0.95
canRewriteStdoutLineFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected