%PDF- %PDF-
Direktori : /home/t/r/a/tradesc/www/relax/wp-content/plugins/complianz-gdpr/settings/src/utils/ |
Current File : /home/t/r/a/tradesc/www/relax/wp-content/plugins/complianz-gdpr/settings/src/utils/debounce.js |
export function debounce(func, delay) { let timeoutID; return function(...args) { if (timeoutID) { clearTimeout(timeoutID); } timeoutID = setTimeout(() => { func(...args); }, delay); }; }