MCPcopy Create free account
hub / github.com/bombshell-dev/clack / SpinnerResult

Interface SpinnerResult

packages/prompts/src/spinner.ts:25–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25export interface SpinnerResult {
26 start(msg?: string): void;
27 stop(msg?: string): void;
28 cancel(msg?: string): void;
29 error(msg?: string): void;
30 message(msg?: string): void;
31 clear(): void;
32 readonly isCancelled: boolean;
33}
34
35const defaultStyleFn: SpinnerOptions['styleFrame'] = (frame) => styleText('magenta', frame);
36

Callers 47

spinner.test.tsFile · 0.80
tasksFunction · 0.80
startFunction · 0.80
mainFunction · 0.80
spinner-cancel.tsFile · 0.80
spinner-ci.tsFile · 0.80
mainFunction · 0.80
spinner.test.tsFile · 0.80
tasksFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected