Executes a coroutine immediately up to its next yield point. If the coroutine yields a signal, suspends execution until the signal emits.
Generator function to call or generator instance to resume
Optional
Optional value to pass to the generator's next() method
The running generator instance
If the yielded value cannot be converted to a signal
Executes a coroutine immediately up to its next yield point. If the coroutine yields a signal, suspends execution until the signal emits.