Re: Synchronous postMessage for Workers?

On Tue, Feb 14, 2012 at 11:32 AM, John J Barton <johnjbarton@johnjbarton.com
> wrote:

> On Tue, Feb 14, 2012 at 11:14 AM, David Bruant <bruant.d@gmail.com> wrote:
> > Le 14/02/2012 14:31, Arthur Barstow a écrit :
>
> > Another addition will be promises.
> > An already working example of promises can be found at
> > https://github.com/kriskowal/q
>
> Just to point out that promises are beyond the working example stage,
> they are deployed in the major JS frameworks, eg:
>
> http://dojotoolkit.org/reference-guide/dojo/Deferred.html
> http://api.jquery.com/category/deferred-object/
>
> The Q library is more like an exploration of implementation issues in
> promises, trying to push them further.


Relevant to the thread here is that the Q library uses promises both for
local asynchrony and for asynchronous distributed messaging. The other
promise libraries (even though they derive from (dojo -> mochikit ->
Twisted Python -> E) only support local asynchrony.


-- 
    Cheers,
    --MarkM

Received on Wednesday, 15 February 2012 02:03:42 UTC