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

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
See 
https://github.com/w3c/presentation-api/issues/149#issuecomment-124992922

Received on Sunday, 26 July 2015 14:06:21 UTC