Skip to content

Conversation

@anarthal
Copy link
Collaborator

async_receive2 is now only cancelled after calling connection::cancel() or using per-operation cancellation
Adds a restriction to only have one outstanding async_receive2 operation per connection
Adds error::already_running
Adds support for asio::cancel_after for async_receive2
Deprecates cancel(operation::receive)
Adds more documentation to async_receive2

close #331

@anarthal
Copy link
Collaborator Author

Still lacking unit tests for the FSM.

@anarthal anarthal merged commit 89e44dc into boostorg:develop Jan 18, 2026
17 checks passed
@anarthal anarthal deleted the feature/async-receive-v2 branch January 18, 2026 15:14
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.

Rework async_receive to consume all elements in the channel

2 participants