Delay callback trigger for x ms to check for new trigger event?

Hi, is it possible to delay the triggering of a clientside callback function by a given amount of milliseconds?
I would like to cancel the original callback if the callback is triggered again within the given time delay. This would greatly increase performance for input fields like text area where the user might type in the text quickly, which generates a torrent of callbacks, when using value as callback trigger.

Is this possible?

I have tried the blur counter, but that has some bugs; When the user clicks a slider that also changes the value in the input field, the blur callback is triggered after the input field has been cleared, and the original content is lost. Which is not good =)

Thanks =)