MCPcopy Create free account
hub / github.com/Noumena-Network/code / showDuration

Function showDuration

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

Source from the content-addressed store, hash-verified

152
153 // Show "thinking..." for remaining time if < 2s elapsed, then show duration
154 const showDuration = (): void => {
155 setThinkingStatus(duration);
156 // Clear after 2s
157 clearStatusTimer = setTimeout(setThinkingStatus, 2000, null);
158 };
159 if (remainingThinkingTime > 0) {
160 showDurationTimer = setTimeout(showDuration, remainingThinkingTime);
161 } else {

Callers 1

SpinnerWithVerbInnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected