Hi,
How can I use coroutines to block my method until another method is called?
Copy code
fun waitForOtherCallback() {
doSomethingThatGivesCallback()
// continue after callback() was called
doOtherStuff()
}
fun callback() {
// this was called, waitForOtherCallback() can continue
}