---
title: "ClikaRT::runtime::ResponseChunk"
sidebar_label: "ResponseChunk"
description: "One streamed chunk of a session's output. final == true marks the last chunk of a cleanly finishing session's stream."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--struct">struct</span>

**Header:** `ClikaRT/runtime/serving.h`

One streamed chunk of a session's output. [`final`](./ResponseChunk.md#final)` == true` marks the last chunk of a cleanly finishing session's stream. Driving a model directly, that chunk carries the finishing step's outputs when it produced any (a finish with no outputs delivers an empty final marker instead); a [`Pipeline`](./Pipeline.md)'s stream always terminates with one empty final marker, the payload rides `on_complete`. An erroring or cancelled session never marks a chunk final: `on_complete` (or the blocking retrieval) is the authoritative terminal signal in every case.

## Data members

### outputs {#outputs}

<div class="api-signature">

[`NamedTensors`](../NamedTensors.md) **`outputs`**

</div>

this chunk's outputs

<div class="api-declared">

Declared in `ClikaRT/runtime/serving.h`, line 48

</div>

### final {#final}

<div class="api-signature">

`bool` **`final`** `= false`

</div>

true on the stream's last chunk

<div class="api-declared">

Declared in `ClikaRT/runtime/serving.h`, line 49

</div>
