Start this coroutine, i.e., invoke its 'act' method.
Start this coroutine, i.e., invoke its 'act' method.
Yield control to the 'other' coroutine.
Yield control to the 'other' coroutine.
the other coroutine to yield control to
whether to wait via a receive or quit via exit
The
CoroutineA
class supports quasi-concurrent programming. A coroutine runs/acts until it yields control to some other coroutine. When resumed, a coroutines continues execution where it left off.