Joan Colmenero
04/27/2020, 10:12 AMCoroutineScope(context + CoroutineExceptionHandler { someError, error -> throw error })
.launch { block(it) }
But on my class I have a val job = Job()
and I want to say that that job is this CoroutineScopeAnimesh Sahu
04/27/2020, 10:23 AMJoan Colmenero
04/27/2020, 10:37 AMthis.job.apply {
CoroutineScope(context + CoroutineExceptionHandler { someError, error -> throw error })
.launch { block(it) }
}
Animesh Sahu
04/27/2020, 10:39 AMJoan Colmenero
04/27/2020, 10:40 AMAnimesh Sahu
04/27/2020, 10:40 AM