Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Ensure ready-state before attempting connection #5

Open
tuxuser opened this issue Oct 2, 2018 · 0 comments
Open

Ensure ready-state before attempting connection #5

tuxuser opened this issue Oct 2, 2018 · 0 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@tuxuser
Copy link
Member

tuxuser commented Oct 2, 2018

Nano state should be verified before a connection is attempted, possibly by connecting to a callback or spawning a Greenlet.

Current implementation, via simple sleep:
https://github.com/OpenXbox/xbox-smartglass-nano-python/blob/master/xbox/nano/scripts/client.py#L49-L50

@tuxuser tuxuser added enhancement New feature or request hacktoberfest labels Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant