Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Asynchronous Programming with JavaScript!
You have completed Asynchronous Programming with JavaScript!
Preview
To better understand what asynchronous code is and why it's necessary, you should also understand what synchronous code is.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
we can be efficient in how
we switch tasks and context.
0:00
For example, we don't always wait for
0:03
one task to be completely finished
before moving on to the next.
0:05
If you're doing chores for instance,
you might make the bed and
0:09
vacuum while waiting for
the dryer to finish.
0:12
Being able to get other
work done in the meantime
0:15
is the basis of asynchronous programming.
0:18
To better understand what asynchronous
code is and why it's necessary,
0:21
you should also understand
what synchronous code is.
0:24
Let's say that you're making breakfast,
it consists of three main tasks.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up