Re: [promises] Guidance on the usage of promises for API developers

On 1/14/14 9:22 AM, Domenic Denicola wrote:
> Do you think it would be improved by nesting step 5 under "These steps will be run asynchronously"?

Yes.  Otherwise if there is another method that allows synchronously 
checking whether a bookmark has been added I would expect such a method 
to return true if called immediately after the addBookmark as specified 
here returns, whereas the obvious desired behavior is for it to return 
false.

-Boris

Received on Tuesday, 14 January 2014 15:08:42 UTC