Priyansh Nama
12/24/2024, 7:14 AMcoroutineContext.isActive
for the computation block, with a scheduled delay of 10ms for every iteration
and this is how i pass data to the state flow
_currentBreathMonitorData.value = BreathMonitor(
audioFeatures.rms * 100, stopwatchTimer.timeInSeconds.value
)
this stateflow is collected as state in ui layer to show the time and the radius
Any idea why i observe a lag here, what can be done to resolve this lag?
let me know if you need any extra info on this