So there are no reasons to use coroutine there, you can just return the function instead of yielding and then running the function again.
4 Likes
So there are no reasons to use coroutine there, you can just return the function instead of yielding and then running the function again.