Returns a function, that, when invoked, will only be triggered at most once during a given window of time.
Returns a function, that, when invoked, will only be triggered at most once during a given window of time.