https://kotlinlang.org logo
Title
u

user

07/21/2022, 1:01 PM
Fatal Exception: java.lang.IllegalStateException kotlin.Unit coroutines Anyone has a clue on how to solve this. I have check online but no helpful resources. internal fun initialize(args: Map, completion: () -> Unit, error: (Exception) -> Unit) { // it crash at this point coroutineScope.launch { //I have some code here } } Fatal Exception: java.lang.IllegalStateException: kotlin.Unit at com.client.onenn.onenn$initialize$1.invokeSuspend(onenn.kt:70) at...