@adobe/helix-shared-process-queue
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -0,1 +1,8 @@ | ||
# [@adobe/helix-shared-process-queue-v3.1.1](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-process-queue-v3.1.0...@adobe/helix-shared-process-queue-v3.1.1) (2025-02-05) | ||
### Bug Fixes | ||
* pass abort controller instead ([468d46a](https://github.com/adobe/helix-shared/commit/468d46a97c813a8b916118f8be9f44ff15a41466)) | ||
# [@adobe/helix-shared-process-queue-v3.1.0](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-process-queue-v3.0.4...@adobe/helix-shared-process-queue-v3.1.0) (2025-02-04) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@adobe/helix-shared-process-queue", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Shared modules of the Helix Project - Process Queue", | ||
@@ -5,0 +5,0 @@ "main": "src/process-queue.js", |
@@ -78,3 +78,3 @@ /* | ||
* @property {number} interval Time window in milliseconds | ||
* @property {AbortSignal} abortSignal Optional abort signal | ||
* @property {AbortController} abortController Optional abort controller | ||
*/ | ||
@@ -85,3 +85,3 @@ export declare type RateLimitOptions = { | ||
interval: number; | ||
abortSignal?: AbortSignal; | ||
abortController?: AbortController; | ||
}; |
@@ -101,3 +101,3 @@ /* | ||
maxConcurrent = 8, | ||
abortSignal, | ||
abortController, | ||
} = typeof rateLimitOptions === 'object' | ||
@@ -143,3 +143,3 @@ ? rateLimitOptions | ||
if (abortSignal?.aborted) { | ||
if (abortController?.signal?.aborted) { | ||
return results; | ||
@@ -146,0 +146,0 @@ } |
31630