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

Re: [web-bluetooth] Improve the getAvailability() design

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Oct 2016 18:54:33 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-252332776-1475866471-sysbot+gh@w3.org>
> use a unified watchAvailability(...) function that works like an 
event listener but 1) is guaranteed to be called at least once, and 2)
 can specify registration to have side-effects, which event listeners 

This sounds scary to me; it would be better to separate out the side 
effects into one method call, and continue using event listeners for 
the event.

GitHub Notification of comment by domenic
Please view or discuss this issue at 
 using your GitHub account
Received on Friday, 7 October 2016 18:54:40 UTC

This archive was generated by hypermail 2.3.1 : Friday, 7 October 2016 18:54:40 UTC