<Suspendable functions in libraries> Hi Kotlin eng...
# forum
r
Suspendable functions in libraries Hi Kotlin engineers, We are having a discussion at work whether in our new libraries we should expose suspendable functions from our libraries which have I/O (Rest calls) inside of them or dumb them down into non suspendable ones. Some folks are against suspendable functions because a few of our older applications (Scala/Java) may want to use these libraries. I argue that this would make those IO calls blocking, even if we call them in this way: val r1 = async(Dispatchers.IO) { //some...