-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get return value outside visit function? #5
Comments
You're going to have to provide some more context to your question. |
net::awaitable< void > How get result from this function? |
This function starts a corotuine that "returns" void. To get it to return a value you'd have to modify the function. For example:
|
But,how to get return value in a nomal function, you get the return in another coroutine. |
net::awaitable< void > net::awaitable< void >
} int
} |
This program is written in terms of asynchronous coroutines. |
No description provided.
The text was updated successfully, but these errors were encountered: