Is there a coroutine/suspending network library ou...
# coroutines
t
Is there a coroutine/suspending network library out there yet?
s
Maybe you are looking for Ktor or Retrofit (Android)?
s
I think they are incubating kotlinx-io in ktor. I guess that is what you are looking for
t
not android. something like netty, but coroutine based.
or at least a wrapper around netty to wrap all those callbacks into suspending functions.
l
ktor client and retrofit2
t
ktor looks like it just support HTTP requests... at least at a glance. handy but... not a network library.
same w/ retrofit?
l
You need to specify what you call "network library" then, because it's very broad otherwise.
t
hmm... networking? sockets (UDP, TCP etc). maybe a protocol or two implmented on top of those, maybe not..
n
anybody using Arrow's Either to wrap responses?