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

Connections now support immediate executors #355

Merged
merged 9 commits into from
Oct 3, 2024

Conversation

anarthal
Copy link
Collaborator

Immediate completions in connection and any_connection are now correctly dispatched to the token's immediate executor using asio::async_immediate instead of plain asio::post.
Added a section on executors in the reference docs of async functions in connection and any_connection

close #301

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.05%. Comparing base (7ef6ff8) to head (c1b3c05).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #355   +/-   ##
========================================
  Coverage    99.05%   99.05%           
========================================
  Files          143      143           
  Lines         7180     7180           
========================================
  Hits          7112     7112           
  Misses          68       68           
Files with missing lines Coverage Δ
include/boost/mysql/any_connection.hpp 100.00% <ø> (ø)
include/boost/mysql/connection.hpp 98.90% <ø> (ø)
include/boost/mysql/detail/engine_impl.hpp 97.01% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ef6ff8...c1b3c05. Read the comment docs.

@anarthal anarthal merged commit 268aa33 into develop Oct 3, 2024
6 checks passed
@anarthal anarthal deleted the feature/301-immediate-executors branch October 3, 2024 18:19
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.

Use the associated immediate executor for immediate completions
1 participant