Is there any idiomatic, first-class analogue for suspendible InputStreams in KMP? I guess you could probably use a flow that emits bytes or something? This library seems like the only option currently: https://github.com/Kotlin/kotlinx-io
m
magnumrocha
04/24/2020, 7:52 AM
there is: https://github.com/square/okio
I don't know if this has what you are looking for, but is a matter of exploring the library...
s
Sam Garfinkel
04/24/2020, 1:22 PM
Yeah I saw but actually turns out my interest in non-blocking IO on coroutines with KMP is blocked by the lack of multi-thread dispatchers on native.