# `Runic.Runner.Scheduler.ChainBatching`
[🔗](https://github.com/zblanco/runic/blob/main/lib/runic/runner/scheduler/chain_batching.ex#L1)

Scheduler strategy that batches linear chains into Promises.

Delegates to `Runic.Runner.PromiseBuilder` for chain detection. Linear
chains of runnables are grouped into Promise dispatch units; runnables
that don't form chains are dispatched individually.

## Options

  * `:min_chain_length` — minimum chain length to form a Promise (default: 2)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
