Debounce
Wait for duration of silence before invoking the handler. Each new event resets the countdown. The handler is called only once after the quiet period expires.
Parameters
duration
The silence window (e.g. 300.milliseconds).
Wait for duration of silence before invoking the handler. Each new event resets the countdown. The handler is called only once after the quiet period expires.
The silence window (e.g. 300.milliseconds).