O'Reilly logo
  • Eliazer Braun thinks this is interesting:

// `response(..)` receives array of results from the Ajax call function response(data) { // let's just do 1000 at a time var chunk = data.splice( 0, 1000 ); // add onto existing `res` array res =


Cover of You Don't Know JS: Async & Performance


This is like a local worker but still runs in the same thread.