- What do you want to achieve? what is the different about coroutine.wrap and spawn() function ?
1 Like
As far as I’m aware - and I’ll be honest, I’m really not; but there isn’t a huge dynamic difference.
From what I’ve been told, spawn() has a wait() built into it before executing the code, where as executing with coroutine is pretty immediate.
I may be wrong.
1 Like