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

Introduce connecting and closed metadata #409

Merged
merged 11 commits into from
Feb 8, 2020

Conversation

gnought
Copy link
Collaborator

@gnought gnought commented Feb 6, 2020

  • connecting: show we are in CONNECT phase. Please noted that connackSent does not mean reset connecting to false and set connected to true. We still need to procceed the last step, pushing (QoS>0 and !clean) / retain messages to clients
  • connected should be flagged true when clientReady/connected is emitted
  • closed: show client closed state

@gnought
Copy link
Collaborator Author

gnought commented Feb 6, 2020

@mcollina the PR is completed, please take you time to have a review. :)

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

We should document those properties

@gnought
Copy link
Collaborator Author

gnought commented Feb 6, 2020

Sure. Those properties are read-only. I will use Symbol to archive that later

@gnought
Copy link
Collaborator Author

gnought commented Feb 7, 2020

@mcollina I will create another PR for using Symbols. This PR is completed. :)

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@gnought gnought merged commit c291ea4 into moscajs:master Feb 8, 2020
@gnought gnought deleted the feature/add_metadata branch February 8, 2020 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants