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

Add ConnectionOpenedCallback #1515

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Add ConnectionOpenedCallback #1515

wants to merge 1 commit into from

Conversation

bgrainger
Copy link
Member

Fixes #1508.

This differs from the existing StateChanged event in that:

  • it supports an async callback
  • it's only invoked when a connection is opened
  • it provides information about new vs existing and whether the connection was reset

Opening for API review. Needs tests before it can be merged.

This differs from the existing StateChanged event in that:

- it supports an async callback
- it's only invoked when a connection is opened
- it provides information about new vs existing and whether the connection was reset

Signed-off-by: Bradley Grainger <[email protected]>
@bgrainger bgrainger requested a review from ejball October 6, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add (flexible) hook for initial connection opening event
1 participant