Join Slack
Powered by
Should I always cancel my coroutine from `remember...
# compose
i
Ink
02/01/2024, 12:34 PM
Should I always cancel my coroutine from
rememberCoroutineScope()
in
onDispose {}
in
DisposableEffect
?
n
Nthily
02/01/2024, 12:51 PM
no,
rememberCoroutineScope()
will cancel coroutine scope when you leave the composable
i
Ink
02/01/2024, 12:53 PM
thanks
4
Views
Open in Slack
Previous
Next