Skip to main content

//clika-runtime/io.clika.runtime/ResponseChunk

ResponseChunk

[common]
class ResponseChunk

One streamed chunk of a session's output: fresh tensors the caller owns (close releases them); final 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​

NameSummary
final[common]
val final: Boolean
outputs[common]
val outputs: Map<String, Tensor>

Functions​

NameSummary
close[common]
open fun close()