prerender/prefetch/dns-prefetch helper
Defers event handler until a duration has lapsed or a given event has occurred.