MCPcopy
hub / github.com/codeaashu/claude-code / showDuration

Function showDuration

src/components/Spinner.tsx:144–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142
143 // Show "thinking..." for remaining time if < 2s elapsed, then show duration
144 const showDuration = (): void => {
145 setThinkingStatus(duration);
146 // Clear after 2s
147 clearStatusTimer = setTimeout(setThinkingStatus, 2000, null);
148 };
149 if (remainingThinkingTime > 0) {
150 showDurationTimer = setTimeout(showDuration, remainingThinkingTime);
151 } else {

Callers 1

SpinnerWithVerbInnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected