Re: DOM: Futures

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