var debounce = ((wait, onFinish) => {
  let timeout;
  return (...args) => {
    const later = () => {
      timeout = null;
      onFinish(...args);
    };
    clearTimeout(timeout);
    timeout = setTimeout(later, wait);
  };
});

export { debounce as d };
//# sourceMappingURL=debounce-1301bca0.js.map
