@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...
    • Executes at most once per limit ms: immediately on the leading edge by default, and once more on the trailing edge if further calls arrived.

      Type Parameters

      • T extends (...args: never[]) => void

      Parameters

      Returns ThrottledFunction<T>

      const update = throttle(() => refreshVisibleRange(), 100);
      const trailingOnly = throttle(refresh, 100, { leading: false });