As far as I understand the coroutines (I'm new to them), co_yield requires a promise to have yield_value function implementation. I don't see that it's there, but the yielding functionality could be useful, so here's a feature request!
A usage case could be waiting for an asynchronous IO.
As far as I understand the coroutines (I'm new to them),
co_yieldrequires a promise to haveyield_valuefunction implementation. I don't see that it's there, but the yielding functionality could be useful, so here's a feature request!A usage case could be waiting for an asynchronous IO.