Skip to content

Replaces asio::post by async_immediate for immediate completions#37

Merged
ashtum merged 2 commits intocppalliance:developfrom
anarthal:feature/use-async-immediate
Jul 10, 2025
Merged

Replaces asio::post by async_immediate for immediate completions#37
ashtum merged 2 commits intocppalliance:developfrom
anarthal:feature/use-async-immediate

Conversation

@anarthal
Copy link
Contributor

Adds a missing include to except.hpp

@anarthal
Copy link
Contributor Author

async_immediate is the current recommended way of handling async immediate impletions AFAIK. It's equivalent to asio::post, but will handle the immediate_executor mechanism (i.e. the "remap post to dispatch") transparently.

@anarthal anarthal marked this pull request as draft June 20, 2025 18:15
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://37.http-io.prtest2.cppalliance.org/index.html

Copy link
Collaborator

@ashtum ashtum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anarthal, could you please rebase the commit and let the CI run?

@anarthal anarthal force-pushed the feature/use-async-immediate branch from 3dccd62 to ed1d03f Compare July 9, 2025 18:06
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://37.http-io.prtest2.cppalliance.org/index.html

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://37.http-io.prtest2.cppalliance.org/index.html

@ashtum
Copy link
Collaborator

ashtum commented Jul 10, 2025

Rubén, is the PR still in draft on purpose or ready to go?

@anarthal anarthal marked this pull request as ready for review July 10, 2025 16:48
@anarthal
Copy link
Contributor Author

Ready to go, forgot to update.

@ashtum ashtum merged commit f15db75 into cppalliance:develop Jul 10, 2025
59 checks passed
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.

3 participants