Skip to content
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

Add Specializations of net::async_result. #2

Open
ricejasonf opened this issue Jul 17, 2019 · 0 comments
Open

Add Specializations of net::async_result. #2

ricejasonf opened this issue Jul 17, 2019 · 0 comments

Comments

@ricejasonf
Copy link
Owner

Both promise and future could integrate with the Networking TS by specializing net:async_result or asio::async_result. This would also simplify calls to Asio or Net async functions.

Having a future of an error_code is kind of boring though. Perhaps tools to resolve the buffer or something deserialized on success would be handy.

Functions for timers would be cool too.

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

No branches or pull requests

1 participant