Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:16Length:2 hours
  • Overview
  • Transcript

4.3 The Promise of Promises, For Better or Worse

There are times when writing callback-driven asynchronous code leads to ‘callback hell’, or an ugly and hard to understand application flow. Promises are an abstraction of the async model, so that you can write your code in a more traditional way. While promises could be a whole course on their own, in this lesson I’ll show you how to use an existing promise-driven library to convert our earlier async code into using promises.

Related Links