Hi ! I'm using ```coroutineScope.launch {``` in or...
# compose
l
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
This question would better fit into the #coroutines channel, as it is not related to Compose.
👍🏾 1
l
Thank you very much 😄 I'll try to transfer it there.