Skip to content

Add connected boolean #130

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
Dec 18, 2019
Merged

Add connected boolean #130

merged 1 commit into from
Dec 18, 2019

Conversation

hacker1024
Copy link
Contributor

This is for a pretty specific use case.

When I start the service, my app may already be connected, or it may not. I want to make sure it's connected to start the service, but then revert it to its previous state.

To do this, I need to check if it's already connected, with this new boolean, and if it isn't, I'll disconnect it after starting the service.

@ryanheise ryanheise merged commit ffeb691 into ryanheise:master Dec 18, 2019
@ryanheise
Copy link
Owner

Looks good.

@hacker1024 hacker1024 deleted the patch-1 branch September 6, 2020 04:11
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants