Creates a function that runs the callback after no calls have happened for the requested timeout.
Milliseconds to wait after the latest call.
Function to run after the idle timeout expires.
Function that restarts the idle timeout whenever it is called.
Creates a function that runs the callback after no calls have happened for the requested timeout.