03 Dec 2012, 19:41
Trevor_burnham__goofy_headshot__pragsmall

Trevor Burnham (51 posts)

This is the official Async JavaScript book discussion forum. Please post your questions about the book here. I’ll try to answer them as promptly as I can.

10 Dec 2012, 15:53
Avatar_pragsmall

Jakub Arnold (4 posts)

Is the upgrade from leanpub version still available? I just found the email you sent in november :)

11 Dec 2012, 01:07
Trevor_burnham__goofy_headshot__pragsmall

Trevor Burnham (51 posts)

Please email me about this, Jakub: trevorburnham@gmail.com

19 Dec 2012, 16:26
Generic-user-small

Joseph Muraski (1 post)

I think I added my name to the list for the upgrade, when would we get a notification to access the new version?

24 Jul 2013, 11:14
Generic-user-small

Stephen Trudel (1 post)

In the section, Chapter 1 - “Async Functions with Caching”, why not maintain the async behavior of the function intact as follows using setTimeout:

  function runCalculation(formula, callback) {   
    if (formula in calculationCache) {     
       return setTimeout(function() {           
         callback(calculationCache[formula]); 
       }, 0);  
    };  

instead of the function SOMETIMES being synchronous and other times its asynchronous. Perhaps its not the biggest deal but at least this is consistent.

  You must be logged in to comment