hey, i was just wondering, is there a way to tell two separate coroutines to wait a specific time before continuing without having to cancelling them and then relaunching once both coroutines are done
thanks so much this is exactly what i was looking for!
e
elizarov
11/07/2020, 10:33 AM
Coroutines are cheap. Usually, you don’t need things like barriers that you have to use with (expensive) threads. Instead of having two coroutines to wait on a barrier you can simply launch two new coroutines after delay or whatever other action you were doing.