We only use co_await/co_return in the production code. It's basically like JavaScript promise and it's very easy to work with.
Calling coroutine in non-coroutine code is also easy, just do blockingWait(co_routineFunc());
We almost never use multithreading code in the business layer now unless coroutine is actually causing performance issue. I haven't seen that happen yet
Calling coroutine in non-coroutine code is also easy, just do blockingWait(co_routineFunc());
We almost never use multithreading code in the business layer now unless coroutine is actually causing performance issue. I haven't seen that happen yet