You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {number} debounceMs - The number of milliseconds to delay.
51
58
* @param {DebounceOptions} options - The options object
52
-
* @param {AbortSignal} options.signal - An optional AbortSignal to cancel the debounced function.
59
+
* @param {AbortSignal} [options.signal] - An optional AbortSignal to cancel the debounced function.
60
+
* @param {Array<'leading' | 'trailing'>} [options.edges] - An array specifying when the function should be invoked (leading edge, trailing edge, or both).
61
+
* @param {number} [options.maxWait] - The maximum time the function is allowed to be delayed before it is invoked.
53
62
* @returns A new debounced function with a `cancel` method.
0 commit comments