Skip to content

Js mqtt - PR #1 Preliminary Foundation#694

Open
bretambrose wants to merge 5 commits intomainfrom
JsMqtt-1-Preliminaries
Open

Js mqtt - PR #1 Preliminary Foundation#694
bretambrose wants to merge 5 commits intomainfrom
JsMqtt-1-Preliminaries

Conversation

@bretambrose
Copy link
Contributor

@bretambrose bretambrose commented Mar 3, 2026

Fixes and updates to support an internal pure JS MQTT client implementation:

  • Heap implementation to support operation timeout tracking
  • Refactor reconnect wait calculations to be shared since the new client will be doing the same thing
  • Accurate type annotations for our websocket connectors
  • Fix a bug in buffered event emitter that would cause incorrect behavior if cork/uncork was used multiple times
  • Add MQTT 311 reason codes to the MQTT5 reason code enums to support a client that can handle both protocols
  • Add/refactor shared topic and topic filter analysis functions to support what the client will need

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bretambrose bretambrose marked this pull request as ready for review March 16, 2026 17:17
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