kd
11/05/2019, 7:00 PMoctylFractal
11/05/2019, 7:04 PMkd
11/05/2019, 7:07 PMoctylFractal
11/05/2019, 7:09 PMjob
at all -- create your scope with SupervisorJob()
so it doesn't get cancelled on exception. you don't need the isActive
check for the while
loop because delay
is already cancellable iirc (check docs), and you don't need to cancel a job in your handlerkd
11/05/2019, 7:10 PMkd
11/05/2019, 7:12 PM