drizzle-cube
Version:
Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
13 lines (12 loc) • 374 B
TypeScript
/**
* Custom hook for debouncing values
* Delays updating the value until after the specified delay has passed
* since the last change
*/
/**
* Debounces a value by the specified delay
* @param value The value to debounce
* @param delay The delay in milliseconds
* @returns The debounced value
*/
export declare function useDebounce<T>(value: T, delay: number): T;