Yes. You can use `withTimeout(time) { … }` inside ...
# coroutines
e
Yes. You can use
withTimeout(time) { … }
inside your coroutine. So, combined with a particular
runBlocking
builder this looks like:
Copy code
runBlocking(somewhere) {
    withTimeout(mytimeout) {
        // your code goes here
        // you can launch other coroutines and they will all get killed on timeout
    }
}