es-toolkit 1.47.1-dev.1859 → 1.47.1-dev.1861
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,6 +43,7 @@ interface DebouncedFunction<F extends (...args: any[]) => void> {
|
|
|
43
43
|
* @param debounceMs - The number of milliseconds to delay.
|
|
44
44
|
* @param options - The options object
|
|
45
45
|
* @param options.signal - An optional AbortSignal to cancel the debounced function.
|
|
46
|
+
* @param options.edges - An optional array specifying whether the function should be invoked on the leading edge, trailing edge, or both.
|
|
46
47
|
* @returns A new debounced function with a `cancel` method.
|
|
47
48
|
*
|
|
48
49
|
* @example
|
|
@@ -43,6 +43,7 @@ interface DebouncedFunction<F extends (...args: any[]) => void> {
|
|
|
43
43
|
* @param debounceMs - The number of milliseconds to delay.
|
|
44
44
|
* @param options - The options object
|
|
45
45
|
* @param options.signal - An optional AbortSignal to cancel the debounced function.
|
|
46
|
+
* @param options.edges - An optional array specifying whether the function should be invoked on the leading edge, trailing edge, or both.
|
|
46
47
|
* @returns A new debounced function with a `cancel` method.
|
|
47
48
|
*
|
|
48
49
|
* @example
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* @param debounceMs - The number of milliseconds to delay.
|
|
10
10
|
* @param options - The options object
|
|
11
11
|
* @param options.signal - An optional AbortSignal to cancel the debounced function.
|
|
12
|
+
* @param options.edges - An optional array specifying whether the function should be invoked on the leading edge, trailing edge, or both.
|
|
12
13
|
* @returns A new debounced function with a `cancel` method.
|
|
13
14
|
*
|
|
14
15
|
* @example
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* @param debounceMs - The number of milliseconds to delay.
|
|
10
10
|
* @param options - The options object
|
|
11
11
|
* @param options.signal - An optional AbortSignal to cancel the debounced function.
|
|
12
|
+
* @param options.edges - An optional array specifying whether the function should be invoked on the leading edge, trailing edge, or both.
|
|
12
13
|
* @returns A new debounced function with a `cancel` method.
|
|
13
14
|
*
|
|
14
15
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
|
-
"version": "1.47.1-dev.
|
|
3
|
+
"version": "1.47.1-dev.1861+8936909a",
|
|
4
4
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
5
5
|
"homepage": "https://es-toolkit.dev",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|