MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / setTransientCaptureStatus

Function setTransientCaptureStatus

packages/client/src/app/AppShell.tsx:2042–2048  ·  view source on GitHub ↗
(label: string, busy: boolean)

Source from the content-addressed store, hash-verified

2040 }
2041
2042 function setTransientCaptureStatus(label: string, busy: boolean) {
2043 if (captureStatusTimeoutRef.current) {
2044 window.clearTimeout(captureStatusTimeoutRef.current);
2045 captureStatusTimeoutRef.current = 0;
2046 }
2047 setCaptureStatus({ busy, label });
2048 }
2049
2050 function clearCaptureStatusLater(label: string, delayMs = 1600) {
2051 if (captureStatusTimeoutRef.current) {

Callers 2

toggleSimulatorRecordingFunction · 0.85

Calls 1

clearTimeoutMethod · 0.80

Tested by

no test coverage detected