MCPcopy Create free account
hub / github.com/codeaashu/claude-code / advanceSpinnerFrame

Function advanceSpinnerFrame

src/components/mcp/ElicitationDialog.tsx:28–28  ·  view source on GitHub ↗
(f: number)

Source from the content-addressed store, hash-verified

26const isTextField = (s: PrimitiveSchemaDefinition) => ['string', 'number', 'integer'].includes(s.type);
27const RESOLVING_SPINNER_CHARS = '\u280B\u2819\u2839\u2838\u283C\u2834\u2826\u2827\u2807\u280F';
28const advanceSpinnerFrame = (f: number) => (f + 1) % RESOLVING_SPINNER_CHARS.length;
29
30/** Timer callback for enumTypeaheadRef — module-scope to avoid closure capture. */
31function resetTypeahead(ta: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected