toOutputStream

fun <Error class: unknown class>.toOutputStream(): OutputStream

Create blocking java.io.OutputStream for this channel that does block every time the channel suspends at write Similar to do reading in runBlocking however you can pass it to regular blocking API