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

# Batch Processing

> Execute multiple tasks with limits and result aggregation

## Example

```typescript theme={null}
import { all, isSuccess } from "tryo";

const tasks = Array.from({ length: 20 }, (_, i) => async () => i * 2);

const results = await all<number>(tasks, {
  concurrency: 5,
  mode: "settle",
});

const values = results.filter(isSuccess).map((r) => r.data);
```
