vThrottle

Used to seamlessly apply the Throttling functionality on any given function

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

const throttle = new vThrottle({ delay: 2000 });

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