import { debounce } from "https://deno.land/x/pup@1.0.0-rc.13/deps.ts";
Creates a debounced function that delays the given func
by a given wait
time in milliseconds. If the method is called
again before the timeout expires, the previous call will be
aborted.