---
title: "BatcherConfig"
sidebar_label: "BatcherConfig"
description: "Kotlin binding reference: BatcherConfig."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[BatcherConfig](index.md)

# BatcherConfig

[common]\
data class [BatcherConfig](index.md)(val maxBatch: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0, val workBudget: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0, val stepTokenBudget: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0)

Continuous-batch composition knobs: sessions per step, work per step, tokens launched per step (0 = unbounded).

## Constructors

| | |
|---|---|
| [BatcherConfig](BatcherConfig.md) | [common]<br>constructor(maxBatch: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0, workBudget: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0, stepTokenBudget: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0) |

## Properties

| Name | Summary |
|---|---|
| [maxBatch](maxBatch.md) | [common]<br>val [maxBatch](maxBatch.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0 |
| [stepTokenBudget](stepTokenBudget.md) | [common]<br>val [stepTokenBudget](stepTokenBudget.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0 |
| [workBudget](workBudget.md) | [common]<br>val [workBudget](workBudget.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0 |