does `withTimeoutOrNull` not work with `readBytes`...
# getting-started
v
does
withTimeoutOrNull
not work with
readBytes
? example, this always works (and I’m pretty sure 1ms will timeout since its a remote URL)
Copy code
val bytes = withContext(<http://Dispatchers.IO|Dispatchers.IO>) {
                        withTimeoutOrNull(1) {
                            URL(urlPath).readBytes()
                        }
                    }
d
No, it's not a suspend function.