Introduction to Callbacks, Broadcasters, and Listeners
Offered By: egghead.io
Course Description
Overview
Before we dive deep into the pattern of composing callbacks and closures, we need to take start with the definitions and basic building blocks that we will be using for the rest of the course.
You'll be able to answer questions like:
What is a Closure?
What is a Callback?
Why does Callback Hell happen and how can we handle it?
We will see that by establishing a contract between functions and holding to the pattern that is established, you will have gained a lot of power and flexibility in writing reusable, robust functions.
You're in Section 01 of Composing Closures and Callbacks in JavaScript.
You'll be able to answer questions like:
What is a Closure?
What is a Callback?
Why does Callback Hell happen and how can we handle it?
We will see that by establishing a contract between functions and holding to the pattern that is established, you will have gained a lot of power and flexibility in writing reusable, robust functions.
You're in Section 01 of Composing Closures and Callbacks in JavaScript.
Syllabus
- What Is a Closure in JavaScript
- What Is a Callback in JavaScript
- Can a Function Be a Closure and a Callback?
- Compose Closures and Callbacks to Create New Functions
- Defining the Broadcaster and Listener Relationship
- Time is a Hidden Variable in JavaScript
- Solve Callback Hell with Composition
- Passing Values Through Callback Hell
Taught by
John Lindquist
Related Courses
Введение в iOS-разработкуMoscow Institute of Physics and Technology via Coursera Object-Oriented JavaScript
Udacity Front-End Interview Prep
Udacity Work with augmented reality (AR) and the web
Curtin University via edX Mighty JavaScript (Advanced)
Udemy