- Debouncing is used to add a time gap between two consecutive invocations of a function call.
- It forces a function to wait a certain amount of time before running again.
- Throttling is a technique used to control the rate at which a function is executed.
- It limits the maximum number of times a function can be called over a given period of time.