@langgraph-js/sdk
Version:
The UI SDK for LangGraph - seamlessly integrate your AI agents with frontend interfaces
7 lines (6 loc) • 322 B
TypeScript
/**
* Creates a debounced function that executes once per animation frame
* @param callback - The function to debounce
* @returns A function that executes the callback on the next animation frame
*/
export declare function rafDebounce<T extends (...args: any[]) => any>(callback: T): (...args: Parameters<T>) => void;