Merge pull request #292 from fredrikj/parallelism

Add UrlSourceOptions.parallelism
This commit is contained in:
David P.
2026-02-03 16:03:55 +01:00
committed by GitHub
2 changed files with 14 additions and 3 deletions
+3
View File
@@ -506,6 +506,9 @@ type UrlSourceOptions = {
// in memory. Defaults to 8 MiB.
maxCacheSize?: number;
// The maximum number of parallel requests to use for fetching. Defaults to 2.
parallelism?: number;
// Used to provide a custom fetch function
fetchFn?: typeof fetch;
};