Enode — API Reference
    Preparing search index...
    • Returns value after it has stopped changing for delayMs — a trailing debounce. Keep a live input controlled by the raw value and feed the debounced value to expensive derived work (filtering, sorting, network), so the work settles on a pause instead of running on every keystroke (which makes ranked lists jump as the user types).

      Type Parameters

      • T

      Parameters

      • value: T

        the rapidly-changing source value.

      • delayMs: number

        quiet period before the debounced value catches up.

      Returns T

      the most recent value that has held steady for delayMs.