Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@danvratil
Copy link
Collaborator

No description provided.

We make use of constexpr to handle the case where we need to co_await the
callback and when we just want to return the result of the callback without
co_awaiting it.
For the optional ErrorCallback we simply provide a default one which just
rethrows the current exception.
Use constexpr to handle invocation with arguments or without.
Avoid confusion with std::invoke and std::invoke_result. The new
names refer to callbacks.
@danvratil danvratil marked this pull request as ready for review August 13, 2022 21:32
@danvratil danvratil merged commit 1270cb1 into main Aug 13, 2022
@danvratil danvratil deleted the cleanup/simplify-then branch August 13, 2022 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants