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

feat: connection change event #3225

Merged
merged 8 commits into from
Jan 8, 2025
Merged

Conversation

gabrielmer
Copy link
Contributor

@gabrielmer gabrielmer commented Dec 24, 2024

Description

Adding a connection health change event which gets triggered every time a peer connects or disconnects. When the event is triggered, a new app callback named connectionChangeHandler is called. This PR also integrates the event to libwaku.

Changes

  • add a connection change event
  • integrating the event to libwaku
  • created an eventCallback template in libwaku to avoid code duplication

Issue

#3076

Copy link

github-actions bot commented Dec 24, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3225

Built from 7e542ae

Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for it! Master piece PR! 🥳
I'm not approving just yet as I think we can simplify it a little bit
Congrats for it and good work!

@gabrielmer gabrielmer force-pushed the feat-connection-change-event branch from 9df578a to 5e46781 Compare January 7, 2025 14:40
@gabrielmer gabrielmer merged commit e81a551 into master Jan 8, 2025
9 of 11 checks passed
@gabrielmer gabrielmer deleted the feat-connection-change-event branch January 8, 2025 17:53
Ivansete-status pushed a commit that referenced this pull request Jan 24, 2025
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.

3 participants