MCPcopy
hub / github.com/bombshell-dev/clack / cancel

Function cancel

packages/prompts/src/spinner.ts:197–197  ·  view source on GitHub ↗
(msg = '')

Source from the content-addressed store, hash-verified

195
196 const stop = (msg = ''): void => _stop(msg, 0);
197 const cancel = (msg = ''): void => _stop(msg, 1);
198 const error = (msg = ''): void => _stop(msg, 2);
199 // TODO (43081j): this will leave the initial S_BAR since we purposely
200 // don't erase that in `clearPrevMessage`. In future, we may want to treat

Callers

nothing calls this directly

Calls 1

_stopFunction · 0.85

Tested by

no test coverage detected