Is there a coroutine API for working with the file...
# coroutines
b
Is there a coroutine API for working with the file system and sockets? When I looked on search.maven.org I found this:
Copy code
<dependency>
  <groupId>org.jetbrains.kotlinx</groupId>
  <artifactId>kotlinx-coroutines-nio</artifactId>
  <version>0.26.1-eap13</version>
</dependency>
But could not find it on the official kotlin pages. Additional the version numbers looks suspect.
y
I usually try to avoid coroutines mixing with IO. If you look at Okio multiplatform, it generally assume you wrap larger IO operations in withContext(Dispatchers.IO) and avoid context switching on different dispatchers.