readAll

suspend fun readAll(): List<T>

Suspends and waits for all available data until the stream is closed.