Miguel
12/13/2021, 4:05 PMprivate suspend fun suspendFunction() : Boolean { ... }
launch {
val returnedValue = suspendFunction()
if (returnedValue) anotherFunction() // this does not fire in the debugger
}
What am I doing wrong?Joffrey
12/13/2021, 4:08 PMtrue
, the anotherFunction
call should happen. Did you try println()
to check whether it's a problem with the code or with the debugger?