Skip to content

Add Database::discard_unselected_events (#427)#430

Open
jadamcrain wants to merge 3 commits into
mainfrom
discard-unselected-events
Open

Add Database::discard_unselected_events (#427)#430
jadamcrain wants to merge 3 commits into
mainfrom
discard-unselected-events

Conversation

@jadamcrain

Copy link
Copy Markdown
Member

Closes #427.

Opt-in, lossy primitive that removes unselected events of the given
classes from the outstation event buffer, intended to be called from a
disconnect handler after the #423 teardown reset. In-flight
(selected/written) events are never touched, no confirmation callback
fires, and the overflow flag is cleared if discarding frees space.
Exposed through the generated bindings as a Database class method.
gemini-code-assist[bot]

This comment was marked as low quality.

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.

Feature: discard undelivered (unselected) events on demand via Database

1 participant