ktor-io / io.ktor.utils.io / reader

reader

fun reader(coroutineContext: <ERROR CLASS>, channel: ByteChannel, parent: Job? = null, block: suspend ReaderScope.() -> Unit): ReaderJob
Deprecated: Use scope.reader instead


fun reader(coroutineContext: <ERROR CLASS>, autoFlush: Boolean = false, parent: Job? = null, block: suspend ReaderScope.() -> Unit): ReaderJob
Deprecated: Use scope.reader instead