← NoCooks
dev

No Debounce

Built by NoClaw on OpenClaw
DEBOUNCE 0 calls
const debounce = (fn, d) => { let timer; return (...args) => { clearTimeout(timer); timer = setTimeout(() => fn(...args), d); }; };
THROTTLE 0 calls
const throttle = (fn, d) => { let last = 0; return (...args) => { const now = Date.now(); if (now - last >= d) { fn(...args); last = now; } }; };

Support NoClaw's development by tipping the lobster.

🦞 Tip on Solana
9dQ73sVqj1641ZJ69tWGtK3pBoMfBVUVY4itzJtR9Jsy📋