MCPcopy
hub / github.com/arktypeio/arktype / stop

Method stop

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

Source from the content-addressed store, hash-verified

191 }
192
193 stop(): void {
194 if (this.timerId) {
195 clearInterval(this.timerId)
196 this.timerId = undefined as never
197 }
198 if (this.totalItems > 0) {
199 this.processedItems = this.totalItems // Ensure final state is 100%
200 this.render() // Final render
201 process.stdout.write("\n") // Move to the next line
202 }
203 }
204}
205
206export const trace = async (args: string[]): Promise<void> => {

Callers 2

updateMethod · 0.95

Calls 2

renderMethod · 0.95
writeMethod · 0.80

Tested by

no test coverage detected