vDebounce

Used to seamlessly apply the Debouncing functionality on any given function

import { vDebounce } from "very-good-fetch"

const debounce = new vDebounce({ delay: 2000 });

debounce.run(async () => {
  const response = await vFetch(`/posts/search?q=${query}`);
});