Skip to content

Expose subscriber trigger clearing control - #123

Merged
dallison merged 1 commit into
mainfrom
read-no-clear-trigger
Aug 26, 2026
Merged

Expose subscriber trigger clearing control#123
dallison merged 1 commit into
mainfrom
read-no-clear-trigger

Conversation

@dallison

Copy link
Copy Markdown
Owner

Summary

  • add a ClearTrigger enum so C++ subscribers can choose whether ReadMessage consumes the trigger fd
  • expose no-clear reads through the C, Python, and Rust client APIs while preserving existing defaults
  • document and test trigger preservation across all supported client bindings

Test plan

  • bazelisk test //client:client_test //c_client:client_test //client/python:client_test //rust_client:client_test --test_output=errors

Allow read callers in every supported client API to preserve the trigger fd for external event-loop ownership while retaining clearing as the default.
@dallison
dallison merged commit 7c01935 into main Aug 26, 2026
45 of 46 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.

1 participant