Slide 46
Slide 46 text
// Same example, complete with node.js time bombs!
getUser('mjackson', function (error, user) {
if (error) throw error;
getNewTweets(user, function (error, tweets) {
if (error) throw error;
updateTimeline(tweets, function (error) {
if (error) throw error;
});
});
});
process.on('uncaughtException', handleError); // LOL