MCPcopy Create free account
hub / github.com/dailydotdev/apps / blinkLoop

Function blinkLoop

packages/shared/src/features/patchy/patchyIdle.ts:143–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 }, action.ms);
142 };
143 const blinkLoop = () => {
144 later(() => {
145 if (!isBusy) {
146 play('blink');
147 }
148 blinkLoop();
149 }, between(BLINK_EVERY_MS));
150 };
151 const actionLoop = () => {
152 later(() => {
153 if (!isBusy && !prefersReducedMotion) {

Callers 1

usePatchyIdleFunction · 0.85

Calls 3

laterFunction · 0.85
playFunction · 0.70
betweenFunction · 0.70

Tested by

no test coverage detected