Is it possible to cancel previous `LaunchedEffect`...
# compose
g
Is it possible to cancel previous
LaunchedEffect
if
args
are changed
Copy code
LaunchedEffect(args) {
    suspendFunction(args)
}
Or it cancels automatically (I have not checked)
Ok, it cancels automatically
👌 2
✔️ 4
m
please check @Jorge Castillo post, he described it really well: https://jorgecastillo.dev/jetpack-compose-effect-handlers
🙏 1