@vercel/queue
Advanced tools
+19
-0
@@ -208,2 +208,21 @@ /** | ||
| transport?: Transport; | ||
| /** | ||
| * Custom HTTP dispatcher passed to every `fetch()` call. | ||
| * | ||
| * Use this to plug in an undici `RetryAgent` or `Agent` for automatic | ||
| * retries on transient network errors (ECONNRESET, 429, 5xx) and | ||
| * connection pooling. | ||
| * | ||
| * @example | ||
| * ```ts | ||
| * import { Agent, RetryAgent } from 'undici'; | ||
| * | ||
| * const dispatcher = new RetryAgent(new Agent({ connections: 8 }), { | ||
| * retryAfter: true, | ||
| * }); | ||
| * | ||
| * new QueueClient({ dispatcher }); | ||
| * ``` | ||
| */ | ||
| dispatcher?: unknown; | ||
| } | ||
@@ -210,0 +229,0 @@ /** |
+19
-0
@@ -208,2 +208,21 @@ /** | ||
| transport?: Transport; | ||
| /** | ||
| * Custom HTTP dispatcher passed to every `fetch()` call. | ||
| * | ||
| * Use this to plug in an undici `RetryAgent` or `Agent` for automatic | ||
| * retries on transient network errors (ECONNRESET, 429, 5xx) and | ||
| * connection pooling. | ||
| * | ||
| * @example | ||
| * ```ts | ||
| * import { Agent, RetryAgent } from 'undici'; | ||
| * | ||
| * const dispatcher = new RetryAgent(new Agent({ connections: 8 }), { | ||
| * retryAfter: true, | ||
| * }); | ||
| * | ||
| * new QueueClient({ dispatcher }); | ||
| * ``` | ||
| */ | ||
| dispatcher?: unknown; | ||
| } | ||
@@ -210,0 +229,0 @@ /** |
+1
-1
| { | ||
| "name": "@vercel/queue", | ||
| "version": "0.1.3", | ||
| "version": "0.1.4", | ||
| "publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
600440
0.57%5407
0.5%