MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / cleanup

Function cleanup

apps/cli/src/update-checker.ts:116–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 process.stdin.resume()
115
116 const cleanup = () => {
117 process.stdin.removeListener('data', onData)
118 process.stdin.setRawMode!(false)
119 process.stdin.pause()
120 }
121
122 const onData = (data: Buffer) => {
123 const key = data.toString()

Callers 1

onDataFunction · 0.70

Calls 1

pauseMethod · 0.65

Tested by

no test coverage detected