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

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

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

# ChunkProducer

[common]\
fun interface [ChunkProducer](index.md)

A chunked body's producer: one chunk per pull, null at the end.

## Functions

| Name | Summary |
|---|---|
| [run](run.md) | [common]<br>abstract fun [run](run.md)(): [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html)? |