Re: [web-bluetooth] Use AbortController instead of stop method (#439)

A brief scan of the specification shows three places where we could use an `AbortController` instead of a dedicated "stop" method,

* [`stopNotifications()`](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattcharacteristic-stopnotifications)
* [`unwatchAdvertisements()`](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothdevice-unwatchadvertisements)
* [`BluetoothLEScan.stop()`](https://webbluetoothcg.github.io/web-bluetooth/scanning.html#dom-bluetoothlescan-stop)

The latter two have not been shipped in any implementation and so are reasonable candidates for updating. We will likely have to continue supporting `stopNotifications()`.

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

Received on Tuesday, 21 May 2019 18:01:00 UTC