Skip to content

Add de-duplication for websockets#135

Merged
juan-campuzano merged 4 commits intomasterfrom
feature/add-dedup-support
Nov 27, 2025
Merged

Add de-duplication for websockets#135
juan-campuzano merged 4 commits intomasterfrom
feature/add-dedup-support

Conversation

@juan-campuzano
Copy link
Collaborator

@juan-campuzano juan-campuzano commented Nov 27, 2025

Description

This pull request introduces deduplication support for WebSocket (WS) and Server-Sent Events (SSE) transports in the Dart client, along with some improvements to the example app and backend API. The deduplication logic prevents processing duplicate messages by maintaining a capped cache of message IDs, which can be configured or disabled via the new options in AsyncConfig.

Category

  • Feature
  • Fix

Checklist

  • The pull request is complete according to the guide of contributing
  • Automated tests are written
  • The documentation is up-to-date
  • the version of the mix.exs was increased
  • The pull request has a descriptive title that describes what has changed, and provides enough context for the changelog

Copy link
Contributor

@gabheadz gabheadz left a comment

Choose a reason for hiding this comment

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

Thanks!

@juan-campuzano juan-campuzano merged commit 2715951 into master Nov 27, 2025
5 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.

2 participants