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

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

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

# ExecConfig

[common]\
data class [ExecConfig](index.md)(val batcher: [BatcherConfig](../BatcherConfig/index.md) = BatcherConfig(), val scheduler: [SchedulerConfig](../SchedulerConfig/index.md) = SchedulerConfig(), val stream: [Stream](../Stream/index.md)? = null, val maxQueued: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0)

One executor's configuration: the batching and scheduling knobs, the stream it runs on (null = a new asynchronous stream of its own) and the in-flight cap for backpressure (0 = unbounded).

## Constructors

| | |
|---|---|
| [ExecConfig](ExecConfig.md) | [common]<br>constructor(batcher: [BatcherConfig](../BatcherConfig/index.md) = BatcherConfig(), scheduler: [SchedulerConfig](../SchedulerConfig/index.md) = SchedulerConfig(), stream: [Stream](../Stream/index.md)? = null, maxQueued: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0) |

## Properties

| Name | Summary |
|---|---|
| [batcher](batcher.md) | [common]<br>val [batcher](batcher.md): [BatcherConfig](../BatcherConfig/index.md) |
| [maxQueued](maxQueued.md) | [common]<br>val [maxQueued](maxQueued.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0 |
| [scheduler](scheduler.md) | [common]<br>val [scheduler](scheduler.md): [SchedulerConfig](../SchedulerConfig/index.md) |
| [stream](stream.md) | [common]<br>val [stream](stream.md): [Stream](../Stream/index.md)? = null |