Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/usehooks-ts.ts>DebounceOptions

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface DebounceOptions
import { type DebounceOptions } from "https://deno.land/x/netzo@0.5.63/deps/usehooks-ts.ts";

Configuration options for controlling the behavior of the debounced function.

Properties

optional
leading: boolean

Determines whether the function should be invoked on the leading edge of the timeout.

optional
trailing: boolean

Determines whether the function should be invoked on the trailing edge of the timeout.

optional
maxWait: number

The maximum time the specified function is allowed to be delayed before it is invoked.