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

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

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

# Disposition

[common]\
enum [Disposition](index.md) : [Enum](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-enum/index.html)&lt;[Disposition](index.md)&gt; 

A session's outcome of one iterate step: keep stepping, done (its outputs are final), failed (see [SessionStepResult.error](../SessionStepResult/error.md)), or set aside for lack of capacity and re-admitted later with its delivered chunks intact (only under [CapacityPolicy.PREEMPT_LAST](../CapacityPolicy/PREEMPT_LAST/index.md)).

## Entries

| | |
|---|---|
| [CONTINUE](CONTINUE/index.md) | [common]<br>[CONTINUE](CONTINUE/index.md) |
| [FINISH](FINISH/index.md) | [common]<br>[FINISH](FINISH/index.md) |
| [ERROR](ERROR/index.md) | [common]<br>[ERROR](ERROR/index.md) |
| [PREEMPTED](PREEMPTED/index.md) | [common]<br>[PREEMPTED](PREEMPTED/index.md) |

## Properties

| Name | Summary |
|---|---|
| [code](code.md) | [common]<br>val [code](code.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [name](../PaddingSide/LEFT/index.md) | [common]<br>val [name](../PaddingSide/LEFT/index.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [ordinal](../PaddingSide/LEFT/index.md) | [common]<br>val [ordinal](../PaddingSide/LEFT/index.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |

## Functions

| Name | Summary |
|---|---|
| [valueOf](valueOf.md) | [common]<br>fun [valueOf](valueOf.md)(value: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [Disposition](index.md)<br>Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| [values](values.md) | [common]<br>fun [values](values.md)(): [Array](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html)&lt;[Disposition](index.md)&gt;<br>Returns an array containing the constants of this enum type, in the order they're declared. |