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

> 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 
can't.

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 
https://github.com/WebBluetoothCG/web-bluetooth/issues/307#issuecomment-252332776
 using your GitHub account

Received on Friday, 7 October 2016 18:54:40 UTC