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

ylemoigne

10/02/2019, 10:11 AM
When there is a jdk IO blocking call inside coroutine and we're not in IO dispatcher context, intellij show a warning. Is there a way to tag a custom method as blocking IO to get this warning ?
1
l

louiscad

10/02/2019, 10:54 AM
Sounds like a good feature request to make on kotl.in/issue
k

Kroppeb

10/02/2019, 2:01 PM
I feel like I have seen
@Throws(IOException)
or something similar do that?
4 Views