Alexander Maryanovsky
03/24/2022, 6:22 PMshareIn(scope.newChildScope())
and closing with scope.coroutineContext.cancelChildren()
Alexander Maryanovsky
03/24/2022, 6:43 PMshareIn
actually launches a child and the flow runs in it.DALDEI
06/10/2022, 5:06 AMfun ManagerScope(parent: CoroutineScope,
dispatcher: CoroutineDispatcher) : CoroutineScope =
CoroutineScope( dispatcher + SupervisorJob(parent.coroutineContext[Job]) )DALDEI
06/10/2022, 5:17 AMDALDEI
06/10/2022, 5:21 AM