Is there any idiomatic, first-class analogue for s...
# multiplatform
s
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
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
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.