Re: [web-bluetooth] Robust handling of errors listening to 'characteristicvaluechanged' (#500)

> "gattserverdisconnected" is the only error you need to consider after the Promise returned by startNotifications() resolves.

If the service my characteristic is associated is removed then my event listener is garbage. It seems like at the very least I need to listen to both 'serviceremoved' and 'gattserverdisconnected' correct?

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

Received on Tuesday, 2 June 2020 20:32:03 UTC