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

Support sender-receiver model #2241

Open
simmplecoder opened this issue Jan 19, 2025 · 0 comments
Open

Support sender-receiver model #2241

simmplecoder opened this issue Jan 19, 2025 · 0 comments

Comments

@simmplecoder
Copy link

Notice
If you need support or clarification regarding the usage of Drogon in your project, visit the official Drogon support channel at gitter

Please create a new issue only if you think you have found a bug or if have a feature request/enhancement.

Is your feature request related to a problem? Please describe.

I would like to use Drogon with upcoming std::execution in C++26. There are two (libunifex, stdexec) libraries that very closely mimic the upcoming library features.

Describe the solution you'd like
I would like the async functionality of Drogon to support sender-receiver model described in P2300 and if possible, support one of the semi-reference libraries suggested above.

Describe alternatives you've considered
I have tried to implement a scheduler for WebSocketClient's event loop, but the proposal lacks good examples on how to retrofit old async interfaces on sender-receiver well, without ping-ponging senders around and avoiding allocations like in normal composition of senders.

Additional context
Should I open this in TRANTOR first?

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