https://kotlinlang.org logo
#coroutines
Title
# coroutines
g

gildor

05/15/2017, 7:50 PM
@kirillrakhman I’ve commit first draft of okhttp library, not published yet, I’m on vacation now, maybe later - https://github.com/gildor/kotlin-coroutines-okhttp Also I investigate what can I do with WebSockets API of OkHttp and coroutines.
k

kirillrakhman

05/15/2017, 7:51 PM
gildor: very nice, thx
g

gildor

05/15/2017, 7:52 PM
Yeah, super simple for now. I’ve tried a few approaches with Monad-like Result API (like for coroutines-retrofit), but looks like it’s too high level for such low-level library, different cases require different API’s, so anyone can write own extension over await() that returns Response
2 Views