W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > September 2015

[web-bluetooth] Serialize start/stop notifications

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Tue, 22 Sep 2015 00:28:59 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issues.opened-107624351-1442881738-sysbot+gh@w3.org>
jyasskin has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Serialize start/stop notifications ==
Right now, 
[startNotifications()](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothgattcharacteristic-startnotifications)
 and 
[stopNotifications()](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothgattcharacteristic-stopnotifications)
 run all of their steps in parallel, meaning that

```javascript
characteristic.startNotifications();
characteristic.stopNotifications();
```

can leave the notifications enabled. We should find wording to exclude
 that race.

See https://github.com/WebBluetoothCG/web-bluetooth/issues/166
Received on Tuesday, 22 September 2015 00:29:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 22 September 2015 00:29:02 UTC