useThrottledDailyEvent(params): void
Listeners are automatically torn down when the calling component or hook unmounts. Unlike useDailyEvent, the callback receives an array of all events accumulated during the throttle window. The queue is cleared when daily-js emits 'call-instance-destroyed'.
Parameters
Function
required
A memoized callback reference to run when the event(s) get emitted.
integer
default:"100"
The minimum waiting time until the callback is called again.
Return value
void