MCPcopy Index your code
hub / github.com/Doorman11991/smallcode / _stopSpinner

Function _stopSpinner

bin/smallcode.js:2328–2338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2326 }, 200);
2327 }
2328 const _stopSpinner = () => {
2329 if (_spinnerInterval) {
2330 clearInterval(_spinnerInterval);
2331 _spinnerInterval = null;
2332 if (!_fullscreenRef && process.stdout.isTTY) {
2333 process.stdout.write('\r' + ' '.repeat(50) + '\r'); // clear spinner line
2334 } else if (_fullscreenRef) {
2335 _fullscreenRef.setStatus?.('');
2336 }
2337 }
2338 };
2339
2340 // Plugin hook: pre_request (before plugin provider check so it fires for all providers)
2341 if (pluginLoader) {

Callers 1

chatCompletionFunction · 0.85

Calls 2

setStatusMethod · 0.80
writeMethod · 0.65

Tested by

no test coverage detected