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

christophsturm

01/22/2021, 11:34 AM
why does idea complain about a blocking call in this snippet?
Copy code
return@coroutineScope withContext(<http://Dispatchers.IO|Dispatchers.IO>) {
                    Files.readAllBytes(path)
                }
m

Marc Knaup

01/22/2021, 11:40 AM
It’s a known bug in the Inspections. False-positive.
e
c

christophsturm

01/22/2021, 11:49 AM
thanks!
3 Views