> ## 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.

# Procesamiento en lote

> Ejecutar múltiples tareas con límites y agregación de resultados

## Ejemplo

```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);
```
