Data

data class Data<T>(val data: T) : StreamResponse<T>

Represents a chunk of data in the stream.

Parameters

data

A single data item in the stream.

Constructors

Link copied to clipboard
constructor(data: T)

Properties

Link copied to clipboard
val data: T
Link copied to clipboard

Indicates whether this response represents a success.