Hello, about `okio`, is there a way to read a path...
# squarelibraries
d
Hello, about
okio
, is there a way to read a path using
ByteReadChannel
? I am trying to create a multiplatform image loading library and I want to create something like this: https://github.com/alialbaali/Kamel/blob/main/kamel-core/src/jvmMain/kotlin/io/kamel/core/fetcher/JvmFileFetcher.kt
j
You'll need to write your own adapters, both to coroutines and to nio
It should be relatively mechanical, and you'll need to decide when to send work to the IO Dispatcher
d
I don't know how to do this 😔