Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.4.62/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.