W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > August 2016

Re: [web-bluetooth] Make startNotifications() return the characteristic, and …

From: Giovanni Ortuno via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 Aug 2016 01:21:42 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-237731849-1470360100-sysbot+gh@w3.org>
lgtm. Someone could do:

```js
// ...
  return char.stopNotifications();
})
.then(char => char.removeEventListener(...));
```

-- 
GitHub Notification of comment by g-ortuno
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/pull/264#issuecomment-237731849
 using your GitHub account
Received on Friday, 5 August 2016 01:21:52 UTC

This archive was generated by hypermail 2.3.1 : Friday, 5 August 2016 01:21:52 UTC