[presentation-api] Rethinking availability monitoring

anssiko has just created a new issue for 
https://github.com/w3c/presentation-api:

== Rethinking availability monitoring ==
The current events-based API for availability monitoring relies on the
 following side-effect: adding/removing a listener for the 
`availablechange` event starts/stops discovery. This is discouraged 
(see the historical discussion [1], also implementability concerns 
[2]).

A promise-based API is proposed as the solution [2][3].

[1] 
https://lists.w3.org/Archives/Public/public-device-apis/2011Sep/0025.html
[2] 
https://lists.w3.org/Archives/Public/public-secondscreen/2015Apr/0079.html
[3] 
https://lists.w3.org/Archives/Public/public-secondscreen/2015Apr/0068.html


See https://github.com/w3c/presentation-api/issues/81

Received on Monday, 27 April 2015 14:10:32 UTC