https://kotlinlang.org logo
Title
o

otakusenpai

03/01/2019, 6:15 PM
How do I include kotlinx.coroutines.experimental ? In my project, which I'm starting from new
z

zak.taccardi

03/01/2019, 6:15 PM
why don’t you use stable coroutines?
o

otakusenpai

03/01/2019, 6:18 PM
Actually I have an old piece of code that I want to reuse, and it uses Ktor 0.9.5 and Ktx 0.30.1
kotlinx.coroutines.experimental.io.ByteReadChannel
That above import is giving me errors at "io".
l

louiscad

03/01/2019, 6:32 PM
Why not update to stable coroutines?
o

otakusenpai

03/01/2019, 6:33 PM
Idk, I did have to work on the Ktor part of the code too.
Anyways it's night time. Almost 12am. Brb
l

louiscad

03/01/2019, 6:45 PM
ktor has been updated to stable coroutines since then
g

gildor

03/02/2019, 12:44 PM
I agree with other people in this thread, I wouldn't spend any time on support of experimental coroutines in your project, instead migrate on stable ones
👍 1
o

otakusenpai

03/02/2019, 3:40 PM
No worries, set the gradle project wrongly.