Re: [web-bluetooth] discussion: is there possibility to change getAvailability() be sync API (#459)

Mobile devices provide an easy way for users to turn on/off bluetooth. How do web developers handle this? Does that mean web developers have to listen to a potentially always pending promise to detect when bluetooth is not available anymore with `navigator.bluetooth.getAvailability().then(...)`?

-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/459#issuecomment-546338511 using your GitHub account

Received on Friday, 25 October 2019 12:44:05 UTC