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

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

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

# ResponseChunk

[common]\
class [ResponseChunk](index.md)

One streamed chunk of a session's output: fresh tensors the caller owns ([close](close.md) releases them); [final](final.md) marks the last chunk of a cleanly finishing stream. A pipeline's stream ends with one empty final chunk and its payload rides the completion; an erroring or canceled session marks no chunk final.

## Properties

| Name | Summary |
|---|---|
| [final](final.md) | [common]<br>val [final](final.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) |
| [outputs](outputs.md) | [common]<br>val [outputs](outputs.md): [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Tensor](../Tensor/index.md)&gt; |

## Functions

| Name | Summary |
|---|---|
| [close](close.md) | [common]<br>open fun [close](close.md)() |