OpenXbox/xbox-smartglass-nano-python

Ensure ready-state before attempting connection

tuxuser opened this issue · 0 comments

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