BaseStreamSender

abstract class BaseStreamSender<T>(destination: StreamDestination<T>)

Inheritors

Constructors

Link copied to clipboard
constructor(destination: StreamDestination<T>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun close(reason: String? = null)
Link copied to clipboard
suspend fun write(data: T): Result<Unit>

Write to the stream.