Re: Question re Promises and interaction with rest of JS

On Tue, May 6, 2014 at 7:23 PM, Harry Halpin <hhalpin@ibiblio.org> wrote:
> For example, can I call for a key to be generated using WebCrypto, and
> can that have *any* effect other promises before the operation is
> complete (i.e. while pending)? Can other promises see a method has
> been called but is still running before its end, and change their
> behavior before that end? Or are they isolated?

You don't have access to the state of asynchronous operations.


> I've been looking at the spec (at least in DOM4)

Promises are defined by JavaScript.


-- 
http://annevankesteren.nl/

Received on Tuesday, 6 May 2014 18:33:21 UTC