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

mp

03/08/2019, 3:04 PM
When calling Jackson's
ObjectReader#readValue()
inside a suspending function, I get an inspection warning that it's an "Inappropriate blocking method call". However, I'm calling the variant that deserializes from a string, so there's no blocking i/o. Also I still get the warning if I throw that logic onto another dispatcher. What can I do about the warning other than suppress it?
🤔 1
l

littlelightcz

03/09/2019, 8:35 AM
I've disabled this inspection recently -- I have to trust myself in what I am doing 😆
9 Views