You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of feel free to ask me(@MBkkt) any questions about this task, often the task may not be described in enough detail for devs who don't have the full context.
Implement co_await operator, for single future, that consume future by rvalue reference and await it (yaclib::Await) and return result from it in await_resume
Now we need to write something like this:
yaclib::Future<int> f = ...;
co_awaitAwait(f);
co_return std::move(f).Touch/Get();
MBkkt
changed the title
Also will be great if you implement co_await operator, for single future, that consume future by rvalue reference and await it (yaclib::Await) and return result from it in await_resume
Implement co_await operator for single yaclib::Future
Aug 9, 2022
First of feel free to ask me(@MBkkt) any questions about this task, often the task may not be described in enough detail for devs who don't have the full context.
Implement co_await operator, for single future, that consume future by rvalue reference and await it (yaclib::Await) and return result from it in await_resume
Now we need to write something like this:
We want to make operators to simplify it:
If we will have it, we can write:
The text was updated successfully, but these errors were encountered: