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

Function blinkLoop

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

Source from the content-addressed store, hash-verified

133 }, action.ms);
134 };
135 const blinkLoop = () => {
136 later(() => {
137 if (!isBusy) {
138 play('blink');
139 }
140 blinkLoop();
141 }, between(BLINK_EVERY_MS));
142 };
143 const actionLoop = () => {
144 later(() => {
145 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