goldies
    Preparing search index...

    Interface DebouncedFunction<F>

    A debounced function, returned by debounce.

    interface DebouncedFunction<F extends (...args: never[]) => unknown> {
        cancel(): void;
        flush(): void;
        (this: ThisParameterType<F>, ...args: Parameters<F>): void;
    }

    Type Parameters

    • F extends (...args: never[]) => unknown
    • Parameters

      • this: ThisParameterType<F>
      • ...args: Parameters<F>

      Returns void

    Index
    • Drops the pending call, if there is one.

      Returns void

    • Makes the pending call right away, if there is one.

      Returns void