Creates a resource representing a debounced version of the source signal.
API
function debounced<T>( source: () => T, wait: NoInfer< | number | ((value: T, lastValue: ResourceSnapshot<T>) => void | Promise<void>) >, options?: NoInfer<DebouncedOptions<T>> | undefined,): Resource<T>;Jump to details