Transcript from the "Introducing Promises" Lesson
[00:01:15] They added a readability enhancer, called Promises.
[00:02:39] That value is going to automatically be filled in later on when the background web browser task for example going to get data from Twitter, bringing it back. When that background web browser task finishes, it's going to store in that immediately returned object on its value property the data that came back from the server.
[00:03:52] Promise as a placeholder for data we would get back from the web browser features background work. We also attach functionality, that we want to defer running until the background work is done. We're gonna see the reason for that is if I try to run functionality on the value of that placeholder object the problem is immediately there ain't gonna be any data there.
[00:04:12] So we need to attach functionality on a trigger when the data comes back to that data on the same object. We're going to see that in a moment. Promise object water is going to trigger that functionality and by the way, the value return for the web browser features work, for example, getting data from the server, will be that attached functionality's input, its argument.
[00:04:32] We're gonna walk through all of this super precisely but that is the overview.