debounceEvent
If you have an event definition tied to a Redux action that fires too frequently, you can use this util to limit the frequency of analytics events (e.g. form input).
Import
Syntax
Parameters
msDelay
:number
The time in milliseconds that needs to elapse between event definition calls
before the analytics event is dispatched to a target.
eventDef
:EventDefinition
The event you want to debounce.
Example
Last updated