W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2013

Re: Futures in WebRTC

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 4 Jun 2013 14:27:07 +0100
Message-ID: <CADnb78jBZeyxFfrXJPvGFxzwG3EZKNgzTvErpX333fwivkGfFw@mail.gmail.com>
To: Adam Bergkvist <adam.bergkvist@ericsson.com>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On Tue, Jun 4, 2013 at 2:01 PM, Adam Bergkvist
<adam.bergkvist@ericsson.com> wrote:
> Anne, can you comment on the preferred behavior when an object returns a
> Future but enters the closed state (where it basically is useless and throws
> InvalidState exceptions when interacted with) before the Future is resolved.
> Should the Future be left in the pending state or should it be rejected?

If that terminates the associated operation rejecting the pending
future with an error makes sense.


--
http://annevankesteren.nl/
Received on Tuesday, 4 June 2013 13:27:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:33 UTC