natario1
02/10/2021, 11:17 AMflowOn
would help but the scope there can't have a Job, which makes sense in the end. So I'm thinking of
flow.onEach { myScope.ensureActive() }
Is this the only way to do it? Are there any concerns other than performance?Valtteri Puonti
02/10/2021, 11:25 AMnatario1
02/10/2021, 11:28 AM