I am using coroutines without problems.
How are you calling the two functions?
I'm just making sure of something.
If you are calling like this,
myFn1()
myFn2()
and the yield is inside myFn1, then both functions will run without waiting.
You need to call like this,
myFn1()
yield....
myFn2()