hho
05/17/2021, 12:48 PMsuspend fun
, and the "Inappropriate blocking method call" inspection flags my code:
val message = objectMapper.readTree(inputString)
What can I do about it? It's not doing I/O, it's operating on a String.Yan Pujante
05/17/2021, 1:27 PM@Suppress("UNCHECKED_CAST", "BlockingMethodInNonBlockingContext")
it will remove the warning. I assume because it is actually not blocking it is the right thing to do, but I am no expert in coroutines...streetsofboston
05/17/2021, 2:01 PMhho
05/17/2021, 2:11 PMephemient
05/17/2021, 4:10 PMgildor
05/18/2021, 4:12 AMhho
05/18/2021, 8:24 AMgildor
05/18/2021, 9:12 AM