@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface DebouncedFunction<T>

    A debounced function with cancellation and introspection helpers.

    interface DebouncedFunction<T extends (...args: never[]) => void> {
        cancel(): void;
        flush(): void;
        pending(): boolean;
        (...args: Parameters<T>): void;
    }

    Type Parameters

    • T extends (...args: never[]) => void
    Index
    • Runs a pending trailing invocation immediately when trailing delivery is enabled; otherwise it only clears the timer.

      Returns void