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

deviant

10/23/2018, 3:56 PM
I've updated to
1.0.0-RC1
and now all my actors and channels marked as
obsoleted api
. What apis should we use instead?
l

louiscad

10/23/2018, 4:34 PM
You should keep using it until the replacement is ready (after 1.0.0)
d

deviant

10/23/2018, 4:41 PM
is there any way to suppress this warning globally? like gradle flag or something
l

louiscad

10/23/2018, 4:42 PM
Yes, the IDE should show help for this with alt/option + enter given you have Kotlin 1.3+ IDE plugin and Kotlin 1.3 in your project (required for kotlinx.coroutines 1.0.0-RC1+ anyway)
d

deviant

10/23/2018, 4:45 PM
it only suppress per method/class. no way to suppress per project. probably i shold create a ticket
l

louiscad

10/23/2018, 6:30 PM
There's a way, but it seems the IDE doesn't advertise it. You can create a ticket for this, but you can also search how to opt-in for experimental feature from gradle script/compiler parameter
👌 1
3 Views