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

kevinherron

09/21/2020, 1:54 PM
Did something change with the “Inappropriate blocking method call” inspection? I’m see it in places like this now:
Copy code
val serverModel = withContext(<http://Dispatchers.IO|Dispatchers.IO>) {
            clientAssociation.retrieveModel()
        }
where
retrieveModel()
throws
IOException
. Is this not an appropriate use of
<http://Dispatchers.IO|Dispatchers.IO>
?
I could swear this wasn’t happening until recently. 🤷
2 Views