small medium large xlarge

03 Dec 2012, 19:41
Trevor Burnham (53 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
Jakub Arnold (3 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 (53 posts)

Please email me about this, Jakub:

19 Dec 2012, 16:26
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
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() {           
       }, 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