Re: Updated spec examples with Futures

Le 25/04/2013 17:02, Ryan Sleevi a écrit :
>
> As mentioned before, no.
>
> >
> > var h=window.crypto.digest("sha1");
> > var res1=h.process(stream1);
> > res1.finish().done(
> >     function() {
> >         console.log(this.result); //result 1
> >     }
> > );
> > var res2=res1.process(stream2);
> > res2.finish().done(
> >     function() {
> >         console.log(this.result); //result 1+2
> >     }
> > );
> >
>

OK, waiting to see the new spec, here the question is not if I can do 
this or not, I can, but this will not produce the correct result

Regards,

-- 
jCore
Email :  avitte@jcore.fr
iAnonym : http://www.ianonym.com
node-Tor : https://www.github.com/Ayms/node-Tor
GitHub : https://www.github.com/Ayms
Web :    www.jcore.fr
Webble : www.webble.it
Extract Widget Mobile : www.extractwidget.com
BlimpMe! : www.blimpme.com

Received on Friday, 26 April 2013 23:21:15 UTC