Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: change _attached to isConnected #62

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

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

keithamus
Copy link
Contributor

isConnected is a property of the Node interface returning a boolean indicating whether the node is connected. It is effectively the same as _attached, making _attached redundant.

`isConnected` is a property of the `Node` interface returning a boolean
indicating whether the node is connected. It is effectively the same as
`_attached`, making `_attached` redundant.
@keithamus keithamus requested a review from koddsson March 3, 2021 14:22
@keithamus keithamus requested a review from a team as a code owner March 3, 2021 14:22
Copy link

@smockle smockle left a comment

Choose a reason for hiding this comment

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

I verified Node.isConnected has wide browser support according to MDN. 👍

@keithamus keithamus merged commit cb5cb5e into main Mar 4, 2021
@keithamus keithamus deleted the refactor-attached-to-isconnected branch March 4, 2021 12:43
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