OptionalkeyCustom key function. Receives the method and URL.
Default: "${method}::${url}"
OptionalwindowHow long (ms) to keep a completed response in the window so that requests arriving just after completion still coalesce. Default: 0 (disabled — only in-flight requests are deduplicated)
OptionalmethodsHTTP methods to deduplicate. Default: ["GET", "HEAD"] Only safe idempotent methods should be deduplicated. Note: Methods are case-insensitive (converted to uppercase internally).
Optional ExperimentalsignalGlobal abort signal for the dedup map. When aborted, in-flight entries
are cleaned up and new calls fall through to factory().
Note: Pass per-request signals to execute() instead for finer control.
In-flight request deduplication (coalescing) for kinetex.
When multiple callers make identical concurrent requests (same method + URL + headers), dedup coalesces them into a single network call and fans the result out to all waiters. This prevents thundering-herd patterns in React renders, parallel service calls, and CDN misses.
Features:
windowMs) also hit the coalesced result