awaitContent

open suspend fun awaitContent()

Suspend until the channel has bytes to read or gets closed. Throws exception if the channel was closed with an error.