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

Re: DOM: Futures

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Fri, 29 Mar 2013 13:59:56 +0100
Message-ID: <1364561996.31974.14.camel@cumulustier>
To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
Le vendredi 29 mars 2013 à 05:51 +0000, Stefan Håkansson LK a écrit :
> >DOM 4 is introducing Futures, a nicer pattern for asynchronous APIs —
> >not sure if we need or want to adopt it for some of our APIs, but it's
> >certainly worth taking note of that option.
> 
> Interesting. Do you have any feeling for the maturity of futures? I
> note that it is only available in the WhatWG version of the document.

Futures are still very early, and while some good thinking have been put
into them (as well as input from existing similar systems and libraries
in JavaScript), we probably shouldn't be the first group to adopt them
in our APIs. But once we get more confidence in their stability, we
should certainly assess the opportunity of making our APIs
future-friendly.

Dom
Received on Friday, 29 March 2013 13:00:14 UTC

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