Pablo
02/02/2021, 9:40 AMreturn suspendCoroutine{
continuation -> usecase.invoke{result -> continuation.resumeWith(Result.success(result)}
}
Is there any difference between suspendCancellableCoroutine? Becuase I know I've been using this for instance for firebase sign ingildor
02/02/2021, 9:57 AMPablo
02/02/2021, 10:02 AMgildor
02/02/2021, 10:14 AMif I do not want to cancellSounds strange, you don’t want or there is no cancel API?
Pablo
02/02/2021, 11:45 AMgildor
02/02/2021, 1:17 PMAdam Powell
02/02/2021, 3:38 PM