Throttle
Invoke the handler immediately for the first event, then suppress further events for duration.
Parameters
duration
The suppression window after the first firing (e.g. 1.seconds).
Invoke the handler immediately for the first event, then suppress further events for duration.
The suppression window after the first firing (e.g. 1.seconds).