Pergunta de entrevista da empresa Collibra

Explain the difference between throttle and debounce. When would you use these?