> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# unbounded-promise-all

> Promise.all runs over an unbounded collection without a concurrency limit, risking memory spikes or downstream saturation.

## What it flags

`Promise.all` runs over an unbounded collection without a concurrency limit (`p-limit`, `pMap`, `PromisePool`, or chunking).

The rule skips an unchanged local result when the awaited helper returns only scalar values or when a local helper builds the result only from already-awaited batches.

A fresh local promise array also stays quiet when only fixed, non-spread `push` statements can reach it and their conservative total stays within the existing small-list limit. Escapes and appends in loops or callbacks keep the warning.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "unbounded-promise-all": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.