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

Re: [presentation-api] Define behavior when sending a message to a PresentationSession fails

From: Shih-Chiang Chien via GitHub <sysbot+gh@w3.org>
Date: Sun, 26 Jul 2015 14:06:19 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-124992922-1437919578-sysbot+gh@w3.org>
Hi @obeletski, we can simply transit the session state to 
"disconnected" while underlying transport channel is lost. Application
 can later perform session resumption on this opened-but-disconnected 
session object and it'll be easier to define the algorithm about 
session resumption (i.e. cannot resume session that has been 
explicitly closed, either by application or browser).

The promise interface proposed by @mounirlamouri looks like the 
semantic of [Stream API](https://streams.spec.whatwg.org/#ws-intro), 
which looks good to me.

GitHub Notif of comment by schien
Received on Sunday, 26 July 2015 14:06:21 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 26 July 2015 14:06:22 UTC