https://kotlinlang.org logo
#compose
Title
# compose
l

loloof64

11/18/2021, 12:24 PM
Hi ! I'm using
Copy code
coroutineScope.launch {
in order to start a coroutine in my code. But is there a variant of
launch
which runs the coroutine for a given amount of time, instead of infinitely ? Because otherwise, I'm afraid my code, which is a bit a kind of spaghetti as now, will be worse.
c

Csaba Kozák

11/18/2021, 12:25 PM
This question would better fit into the #coroutines channel, as it is not related to Compose.
👍🏾 1
l

loloof64

11/18/2021, 12:26 PM
Thank you very much 😄 I'll try to transfer it there.
2 Views