W3C home > Mailing lists > Public > public-secondscreen@w3.org > April 2015

[presentation-api] Rethinking availability monitoring

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Mon, 27 Apr 2015 14:10:31 +0000
To: public-secondscreen@w3.org
Message-ID: <issues.opened-71295108-1430143829-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 27 April 2015 14:10:33 UTC