I think the possibility to change the function adding the delay is useful, since, not only does the different browser handle thing differently. Jquery and angular have their own version of ajax request. Therefore, the way to add the delay, is not the same. And rather than doing one monster of a function handling all the possibilities. I rather permit the user to to add its own. Besides, we could later add a collection of addDelay function for the most common case.