ghedeon
11/11/2019, 4:17 PMCoroutineScope scope = ViewModelKt.getViewModelScope(this);
BuildersKt.launch(scope, scope.getCoroutineContext(), CoroutineStart.DEFAULT,
(_scope, continuation) -> signUp.invoke(params, continuation)
);
Zach Klippenstein (he/him) [MOD]
11/11/2019, 8:00 PMCOROUTINE_SUSPENDED
from your lambda to indicate that the function didn't finish. But I think you also then need to check the return value of your signup function to either return directly or return that constant. It would be much better to just write a helper in kotlin.ghedeon
11/12/2019, 6:53 AM