JavaScript Promises: The Complete Guide

  • Course provided by Udemy
  • Study type: Online
  • Starts: Anytime
  • Price: See latest price on Udemy
Udemy

Course Description

My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises.

JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code.

Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises.

Who this course is for:

  • Everyone who wants to learn JavaScript Promises

Instructor

Senior Software Developer
  • 4.6 Instructor Rating
  • 4,344 Reviews
  • 19,913 Students
  • 4 Courses

My name is Viktor and my goal is to help you understand stuff.

I am a Senior Software Developer specializing in JavaScript and various technologies around it.
I have been creating web applications for 12 years.
During these years I acquired a lot of expertise in Software Development industry.
Now I want to share my knowledge with you.

I design my courses so they are easy to understand and to follow,
and I update them regularly in order to keep them up-to-date.

Expected Outcomes

  1. Learn everything about Promises in JavaScript Working with multiple asynchronous operations simultaneously Real world examples of using Promises Error handling when using Promises Github repository with the source code Writing unit tests for Promises Improve your knowledge of Asynchronous JavaScript Using Fetch API Course content 6 sections • 21 lectures • 1h 42m total length Expand all sections Introduction 1 lecture • 2min Introduction Preview 02:28 Promise Basics 4 lectures • 17min Why We Need Promises Preview 04:10 What Is a Promise? Preview 02:56 Creating a Promise Preview 02:22 Status of the Promise 07:17 Working with Promises 7 lectures • 42min Promise Methods: Then 06:23 Chaining Promises 06:27 Promise Methods: Catch 05:14 How to Promisify any Function in JavaScript 07:53 What's a Callback Hell and How to Avoid It 06:36 Making HTTP Requests Using Fetch API 04:59 Static Methods: Promise.resolve and Promise.reject 04:48 Handling Multiple Asynchronous Operations 3 lectures • 14min Static Methods: Promise.all 04:43 How Promise.all Handles Rejections 03:34 Static Methods: Promise.race 05:56 Unit Testing Promises 4 lectures • 25min Setting Up the Testing Environment 03:53 Writing Unit Tests 09:25 Timeouts in Unit Tests 03:59 Multiple Assertions in One Test Case 08:11 Summary 2 lectures • 1min Summary 00:40 Bonus Lecture: Other Courses with Discounts 00:14 Requirements Basics of JavaScript Description My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises. JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code. Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises. Who this course is for: Everyone who wants to learn JavaScript Promises Show more Show less Instructor Viktor Pyskunov Senior Software Developer 4.6 Instructor Rating 4,344 Reviews 19,913 Students 4 Courses My name is Viktor and my goal is to help you understand stuff. I am a Senior Software Developer specializing in JavaScript and various technologies around it. I have been creating web applications for 12 years . During these years I acquired a lot of expertise in Software Development industry. Now I want to share my knowledge with you . I design my courses so they are easy to understand and to follow, and I update them regularly in order to keep them up-to-date . Show more Show less Udemy Business Teach on Udemy Get the app About us Contact us Careers Blog Help and Support Affiliate Impressum Kontakt Terms Privacy policy Cookie settings Sitemap © 2021 Udemy, Inc. window.handleCSSToggleButtonClick = function (event) { var target = event.currentTarget; var cssToggleId = target && target.dataset && target.dataset.cssToggleId; var input = cssToggleId && document.getElementById(cssToggleId); if (input) { if (input.dataset.type === 'checkbox') { input.dataset.checked = input.dataset.checked ? '' : 'checked'; } else { input.dataset.checked = input.dataset.allowToggle && input.dataset.checked ? '' : 'checked'; var radios = document.querySelectorAll('[name="' + input.dataset.name + '"]'); for (var i = 0; i (function(){window['__CF$cv$params']={r:'6778c5475b4706e9',m:'eae26fe47c90629cd02b1aa763a75d9091516aca-1627754892-1800-AfEKUJ2R//Ie0DDT27NHD3hOOWuWh6+8170kdUtYtLz8jD5v2WD93K3qSc+ZmSRxLhmFp0sVRnklIjGfwQgkQ6uBICR4tjpeKmvvW9D+sd9M7F5WOxe1blFE55/Hm09W7Paq8XU54f58F0KTS8ZK634=',s:[0x7597012d30,0x5f70629be2],}})();
  2. Working with multiple asynchronous operations simultaneously Real world examples of using Promises Error handling when using Promises Github repository with the source code Writing unit tests for Promises Improve your knowledge of Asynchronous JavaScript Using Fetch API Course content 6 sections • 21 lectures • 1h 42m total length Expand all sections Introduction 1 lecture • 2min Introduction Preview 02:28 Promise Basics 4 lectures • 17min Why We Need Promises Preview 04:10 What Is a Promise? Preview 02:56 Creating a Promise Preview 02:22 Status of the Promise 07:17 Working with Promises 7 lectures • 42min Promise Methods: Then 06:23 Chaining Promises 06:27 Promise Methods: Catch 05:14 How to Promisify any Function in JavaScript 07:53 What's a Callback Hell and How to Avoid It 06:36 Making HTTP Requests Using Fetch API 04:59 Static Methods: Promise.resolve and Promise.reject 04:48 Handling Multiple Asynchronous Operations 3 lectures • 14min Static Methods: Promise.all 04:43 How Promise.all Handles Rejections 03:34 Static Methods: Promise.race 05:56 Unit Testing Promises 4 lectures • 25min Setting Up the Testing Environment 03:53 Writing Unit Tests 09:25 Timeouts in Unit Tests 03:59 Multiple Assertions in One Test Case 08:11 Summary 2 lectures • 1min Summary 00:40 Bonus Lecture: Other Courses with Discounts 00:14 Requirements Basics of JavaScript Description My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises. JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code. Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises. Who this course is for: Everyone who wants to learn JavaScript Promises Show more Show less Instructor Viktor Pyskunov Senior Software Developer 4.6 Instructor Rating 4,344 Reviews 19,913 Students 4 Courses My name is Viktor and my goal is to help you understand stuff. I am a Senior Software Developer specializing in JavaScript and various technologies around it. I have been creating web applications for 12 years . During these years I acquired a lot of expertise in Software Development industry. Now I want to share my knowledge with you . I design my courses so they are easy to understand and to follow, and I update them regularly in order to keep them up-to-date . Show more Show less Udemy Business Teach on Udemy Get the app About us Contact us Careers Blog Help and Support Affiliate Impressum Kontakt Terms Privacy policy Cookie settings Sitemap © 2021 Udemy, Inc. window.handleCSSToggleButtonClick = function (event) { var target = event.currentTarget; var cssToggleId = target && target.dataset && target.dataset.cssToggleId; var input = cssToggleId && document.getElementById(cssToggleId); if (input) { if (input.dataset.type === 'checkbox') { input.dataset.checked = input.dataset.checked ? '' : 'checked'; } else { input.dataset.checked = input.dataset.allowToggle && input.dataset.checked ? '' : 'checked'; var radios = document.querySelectorAll('[name="' + input.dataset.name + '"]'); for (var i = 0; i (function(){window['__CF$cv$params']={r:'6778c5475b4706e9',m:'eae26fe47c90629cd02b1aa763a75d9091516aca-1627754892-1800-AfEKUJ2R//Ie0DDT27NHD3hOOWuWh6+8170kdUtYtLz8jD5v2WD93K3qSc+ZmSRxLhmFp0sVRnklIjGfwQgkQ6uBICR4tjpeKmvvW9D+sd9M7F5WOxe1blFE55/Hm09W7Paq8XU54f58F0KTS8ZK634=',s:[0x7597012d30,0x5f70629be2],}})();
  3. Real world examples of using Promises Error handling when using Promises Github repository with the source code Writing unit tests for Promises Improve your knowledge of Asynchronous JavaScript Using Fetch API Course content 6 sections • 21 lectures • 1h 42m total length Expand all sections Introduction 1 lecture • 2min Introduction Preview 02:28 Promise Basics 4 lectures • 17min Why We Need Promises Preview 04:10 What Is a Promise? Preview 02:56 Creating a Promise Preview 02:22 Status of the Promise 07:17 Working with Promises 7 lectures • 42min Promise Methods: Then 06:23 Chaining Promises 06:27 Promise Methods: Catch 05:14 How to Promisify any Function in JavaScript 07:53 What's a Callback Hell and How to Avoid It 06:36 Making HTTP Requests Using Fetch API 04:59 Static Methods: Promise.resolve and Promise.reject 04:48 Handling Multiple Asynchronous Operations 3 lectures • 14min Static Methods: Promise.all 04:43 How Promise.all Handles Rejections 03:34 Static Methods: Promise.race 05:56 Unit Testing Promises 4 lectures • 25min Setting Up the Testing Environment 03:53 Writing Unit Tests 09:25 Timeouts in Unit Tests 03:59 Multiple Assertions in One Test Case 08:11 Summary 2 lectures • 1min Summary 00:40 Bonus Lecture: Other Courses with Discounts 00:14 Requirements Basics of JavaScript Description My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises. JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code. Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises. Who this course is for: Everyone who wants to learn JavaScript Promises Show more Show less Instructor Viktor Pyskunov Senior Software Developer 4.6 Instructor Rating 4,344 Reviews 19,913 Students 4 Courses My name is Viktor and my goal is to help you understand stuff. I am a Senior Software Developer specializing in JavaScript and various technologies around it. I have been creating web applications for 12 years . During these years I acquired a lot of expertise in Software Development industry. Now I want to share my knowledge with you . I design my courses so they are easy to understand and to follow, and I update them regularly in order to keep them up-to-date . Show more Show less Udemy Business Teach on Udemy Get the app About us Contact us Careers Blog Help and Support Affiliate Impressum Kontakt Terms Privacy policy Cookie settings Sitemap © 2021 Udemy, Inc. window.handleCSSToggleButtonClick = function (event) { var target = event.currentTarget; var cssToggleId = target && target.dataset && target.dataset.cssToggleId; var input = cssToggleId && document.getElementById(cssToggleId); if (input) { if (input.dataset.type === 'checkbox') { input.dataset.checked = input.dataset.checked ? '' : 'checked'; } else { input.dataset.checked = input.dataset.allowToggle && input.dataset.checked ? '' : 'checked'; var radios = document.querySelectorAll('[name="' + input.dataset.name + '"]'); for (var i = 0; i (function(){window['__CF$cv$params']={r:'6778c5475b4706e9',m:'eae26fe47c90629cd02b1aa763a75d9091516aca-1627754892-1800-AfEKUJ2R//Ie0DDT27NHD3hOOWuWh6+8170kdUtYtLz8jD5v2WD93K3qSc+ZmSRxLhmFp0sVRnklIjGfwQgkQ6uBICR4tjpeKmvvW9D+sd9M7F5WOxe1blFE55/Hm09W7Paq8XU54f58F0KTS8ZK634=',s:[0x7597012d30,0x5f70629be2],}})();
  4. Error handling when using Promises Github repository with the source code Writing unit tests for Promises Improve your knowledge of Asynchronous JavaScript Using Fetch API Course content 6 sections • 21 lectures • 1h 42m total length Expand all sections Introduction 1 lecture • 2min Introduction Preview 02:28 Promise Basics 4 lectures • 17min Why We Need Promises Preview 04:10 What Is a Promise? Preview 02:56 Creating a Promise Preview 02:22 Status of the Promise 07:17 Working with Promises 7 lectures • 42min Promise Methods: Then 06:23 Chaining Promises 06:27 Promise Methods: Catch 05:14 How to Promisify any Function in JavaScript 07:53 What's a Callback Hell and How to Avoid It 06:36 Making HTTP Requests Using Fetch API 04:59 Static Methods: Promise.resolve and Promise.reject 04:48 Handling Multiple Asynchronous Operations 3 lectures • 14min Static Methods: Promise.all 04:43 How Promise.all Handles Rejections 03:34 Static Methods: Promise.race 05:56 Unit Testing Promises 4 lectures • 25min Setting Up the Testing Environment 03:53 Writing Unit Tests 09:25 Timeouts in Unit Tests 03:59 Multiple Assertions in One Test Case 08:11 Summary 2 lectures • 1min Summary 00:40 Bonus Lecture: Other Courses with Discounts 00:14 Requirements Basics of JavaScript Description My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises. JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code. Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises. Who this course is for: Everyone who wants to learn JavaScript Promises Show more Show less Instructor Viktor Pyskunov Senior Software Developer 4.6 Instructor Rating 4,344 Reviews 19,913 Students 4 Courses My name is Viktor and my goal is to help you understand stuff. I am a Senior Software Developer specializing in JavaScript and various technologies around it. I have been creating web applications for 12 years . During these years I acquired a lot of expertise in Software Development industry. Now I want to share my knowledge with you . I design my courses so they are easy to understand and to follow, and I update them regularly in order to keep them up-to-date . Show more Show less Udemy Business Teach on Udemy Get the app About us Contact us Careers Blog Help and Support Affiliate Impressum Kontakt Terms Privacy policy Cookie settings Sitemap © 2021 Udemy, Inc. window.handleCSSToggleButtonClick = function (event) { var target = event.currentTarget; var cssToggleId = target && target.dataset && target.dataset.cssToggleId; var input = cssToggleId && document.getElementById(cssToggleId); if (input) { if (input.dataset.type === 'checkbox') { input.dataset.checked = input.dataset.checked ? '' : 'checked'; } else { input.dataset.checked = input.dataset.allowToggle && input.dataset.checked ? '' : 'checked'; var radios = document.querySelectorAll('[name="' + input.dataset.name + '"]'); for (var i = 0; i (function(){window['__CF$cv$params']={r:'6778c5475b4706e9',m:'eae26fe47c90629cd02b1aa763a75d9091516aca-1627754892-1800-AfEKUJ2R//Ie0DDT27NHD3hOOWuWh6+8170kdUtYtLz8jD5v2WD93K3qSc+ZmSRxLhmFp0sVRnklIjGfwQgkQ6uBICR4tjpeKmvvW9D+sd9M7F5WOxe1blFE55/Hm09W7Paq8XU54f58F0KTS8ZK634=',s:[0x7597012d30,0x5f70629be2],}})();
  5. Github repository with the source code Writing unit tests for Promises Improve your knowledge of Asynchronous JavaScript Using Fetch API Course content 6 sections • 21 lectures • 1h 42m total length Expand all sections Introduction 1 lecture • 2min Introduction Preview 02:28 Promise Basics 4 lectures • 17min Why We Need Promises Preview 04:10 What Is a Promise? Preview 02:56 Creating a Promise Preview 02:22 Status of the Promise 07:17 Working with Promises 7 lectures • 42min Promise Methods: Then 06:23 Chaining Promises 06:27 Promise Methods: Catch 05:14 How to Promisify any Function in JavaScript 07:53 What's a Callback Hell and How to Avoid It 06:36 Making HTTP Requests Using Fetch API 04:59 Static Methods: Promise.resolve and Promise.reject 04:48 Handling Multiple Asynchronous Operations 3 lectures • 14min Static Methods: Promise.all 04:43 How Promise.all Handles Rejections 03:34 Static Methods: Promise.race 05:56 Unit Testing Promises 4 lectures • 25min Setting Up the Testing Environment 03:53 Writing Unit Tests 09:25 Timeouts in Unit Tests 03:59 Multiple Assertions in One Test Case 08:11 Summary 2 lectures • 1min Summary 00:40 Bonus Lecture: Other Courses with Discounts 00:14 Requirements Basics of JavaScript Description My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises. JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code. Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises. Who this course is for: Everyone who wants to learn JavaScript Promises Show more Show less Instructor Viktor Pyskunov Senior Software Developer 4.6 Instructor Rating 4,344 Reviews 19,913 Students 4 Courses My name is Viktor and my goal is to help you understand stuff. I am a Senior Software Developer specializing in JavaScript and various technologies around it. I have been creating web applications for 12 years . During these years I acquired a lot of expertise in Software Development industry. Now I want to share my knowledge with you . I design my courses so they are easy to understand and to follow, and I update them regularly in order to keep them up-to-date . Show more Show less Udemy Business Teach on Udemy Get the app About us Contact us Careers Blog Help and Support Affiliate Impressum Kontakt Terms Privacy policy Cookie settings Sitemap © 2021 Udemy, Inc. window.handleCSSToggleButtonClick = function (event) { var target = event.currentTarget; var cssToggleId = target && target.dataset && target.dataset.cssToggleId; var input = cssToggleId && document.getElementById(cssToggleId); if (input) { if (input.dataset.type === 'checkbox') { input.dataset.checked = input.dataset.checked ? '' : 'checked'; } else { input.dataset.checked = input.dataset.allowToggle && input.dataset.checked ? '' : 'checked'; var radios = document.querySelectorAll('[name="' + input.dataset.name + '"]'); for (var i = 0; i (function(){window['__CF$cv$params']={r:'6778c5475b4706e9',m:'eae26fe47c90629cd02b1aa763a75d9091516aca-1627754892-1800-AfEKUJ2R//Ie0DDT27NHD3hOOWuWh6+8170kdUtYtLz8jD5v2WD93K3qSc+ZmSRxLhmFp0sVRnklIjGfwQgkQ6uBICR4tjpeKmvvW9D+sd9M7F5WOxe1blFE55/Hm09W7Paq8XU54f58F0KTS8ZK634=',s:[0x7597012d30,0x5f70629be2],}})();
  6. Writing unit tests for Promises Improve your knowledge of Asynchronous JavaScript Using Fetch API Course content 6 sections • 21 lectures • 1h 42m total length Expand all sections Introduction 1 lecture • 2min Introduction Preview 02:28 Promise Basics 4 lectures • 17min Why We Need Promises Preview 04:10 What Is a Promise? Preview 02:56 Creating a Promise Preview 02:22 Status of the Promise 07:17 Working with Promises 7 lectures • 42min Promise Methods: Then 06:23 Chaining Promises 06:27 Promise Methods: Catch 05:14 How to Promisify any Function in JavaScript 07:53 What's a Callback Hell and How to Avoid It 06:36 Making HTTP Requests Using Fetch API 04:59 Static Methods: Promise.resolve and Promise.reject 04:48 Handling Multiple Asynchronous Operations 3 lectures • 14min Static Methods: Promise.all 04:43 How Promise.all Handles Rejections 03:34 Static Methods: Promise.race 05:56 Unit Testing Promises 4 lectures • 25min Setting Up the Testing Environment 03:53 Writing Unit Tests 09:25 Timeouts in Unit Tests 03:59 Multiple Assertions in One Test Case 08:11 Summary 2 lectures • 1min Summary 00:40 Bonus Lecture: Other Courses with Discounts 00:14 Requirements Basics of JavaScript Description My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises. JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code. Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises. Who this course is for: Everyone who wants to learn JavaScript Promises Show more Show less Instructor Viktor Pyskunov Senior Software Developer 4.6 Instructor Rating 4,344 Reviews 19,913 Students 4 Courses My name is Viktor and my goal is to help you understand stuff. I am a Senior Software Developer specializing in JavaScript and various technologies around it. I have been creating web applications for 12 years . During these years I acquired a lot of expertise in Software Development industry. Now I want to share my knowledge with you . I design my courses so they are easy to understand and to follow, and I update them regularly in order to keep them up-to-date . Show more Show less Udemy Business Teach on Udemy Get the app About us Contact us Careers Blog Help and Support Affiliate Impressum Kontakt Terms Privacy policy Cookie settings Sitemap © 2021 Udemy, Inc. window.handleCSSToggleButtonClick = function (event) { var target = event.currentTarget; var cssToggleId = target && target.dataset && target.dataset.cssToggleId; var input = cssToggleId && document.getElementById(cssToggleId); if (input) { if (input.dataset.type === 'checkbox') { input.dataset.checked = input.dataset.checked ? '' : 'checked'; } else { input.dataset.checked = input.dataset.allowToggle && input.dataset.checked ? '' : 'checked'; var radios = document.querySelectorAll('[name="' + input.dataset.name + '"]'); for (var i = 0; i (function(){window['__CF$cv$params']={r:'6778c5475b4706e9',m:'eae26fe47c90629cd02b1aa763a75d9091516aca-1627754892-1800-AfEKUJ2R//Ie0DDT27NHD3hOOWuWh6+8170kdUtYtLz8jD5v2WD93K3qSc+ZmSRxLhmFp0sVRnklIjGfwQgkQ6uBICR4tjpeKmvvW9D+sd9M7F5WOxe1blFE55/Hm09W7Paq8XU54f58F0KTS8ZK634=',s:[0x7597012d30,0x5f70629be2],}})();
  7. Improve your knowledge of Asynchronous JavaScript Using Fetch API Course content 6 sections • 21 lectures • 1h 42m total length Expand all sections Introduction 1 lecture • 2min Introduction Preview 02:28 Promise Basics 4 lectures • 17min Why We Need Promises Preview 04:10 What Is a Promise? Preview 02:56 Creating a Promise Preview 02:22 Status of the Promise 07:17 Working with Promises 7 lectures • 42min Promise Methods: Then 06:23 Chaining Promises 06:27 Promise Methods: Catch 05:14 How to Promisify any Function in JavaScript 07:53 What's a Callback Hell and How to Avoid It 06:36 Making HTTP Requests Using Fetch API 04:59 Static Methods: Promise.resolve and Promise.reject 04:48 Handling Multiple Asynchronous Operations 3 lectures • 14min Static Methods: Promise.all 04:43 How Promise.all Handles Rejections 03:34 Static Methods: Promise.race 05:56 Unit Testing Promises 4 lectures • 25min Setting Up the Testing Environment 03:53 Writing Unit Tests 09:25 Timeouts in Unit Tests 03:59 Multiple Assertions in One Test Case 08:11 Summary 2 lectures • 1min Summary 00:40 Bonus Lecture: Other Courses with Discounts 00:14 Requirements Basics of JavaScript Description My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises. JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code. Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises. Who this course is for: Everyone who wants to learn JavaScript Promises Show more Show less Instructor Viktor Pyskunov Senior Software Developer 4.6 Instructor Rating 4,344 Reviews 19,913 Students 4 Courses My name is Viktor and my goal is to help you understand stuff. I am a Senior Software Developer specializing in JavaScript and various technologies around it. I have been creating web applications for 12 years . During these years I acquired a lot of expertise in Software Development industry. Now I want to share my knowledge with you . I design my courses so they are easy to understand and to follow, and I update them regularly in order to keep them up-to-date . Show more Show less Udemy Business Teach on Udemy Get the app About us Contact us Careers Blog Help and Support Affiliate Impressum Kontakt Terms Privacy policy Cookie settings Sitemap © 2021 Udemy, Inc. window.handleCSSToggleButtonClick = function (event) { var target = event.currentTarget; var cssToggleId = target && target.dataset && target.dataset.cssToggleId; var input = cssToggleId && document.getElementById(cssToggleId); if (input) { if (input.dataset.type === 'checkbox') { input.dataset.checked = input.dataset.checked ? '' : 'checked'; } else { input.dataset.checked = input.dataset.allowToggle && input.dataset.checked ? '' : 'checked'; var radios = document.querySelectorAll('[name="' + input.dataset.name + '"]'); for (var i = 0; i (function(){window['__CF$cv$params']={r:'6778c5475b4706e9',m:'eae26fe47c90629cd02b1aa763a75d9091516aca-1627754892-1800-AfEKUJ2R//Ie0DDT27NHD3hOOWuWh6+8170kdUtYtLz8jD5v2WD93K3qSc+ZmSRxLhmFp0sVRnklIjGfwQgkQ6uBICR4tjpeKmvvW9D+sd9M7F5WOxe1blFE55/Hm09W7Paq8XU54f58F0KTS8ZK634=',s:[0x7597012d30,0x5f70629be2],}})();
  8. Using Fetch API Course content 6 sections • 21 lectures • 1h 42m total length Expand all sections Introduction 1 lecture • 2min Introduction Preview 02:28 Promise Basics 4 lectures • 17min Why We Need Promises Preview 04:10 What Is a Promise? Preview 02:56 Creating a Promise Preview 02:22 Status of the Promise 07:17 Working with Promises 7 lectures • 42min Promise Methods: Then 06:23 Chaining Promises 06:27 Promise Methods: Catch 05:14 How to Promisify any Function in JavaScript 07:53 What's a Callback Hell and How to Avoid It 06:36 Making HTTP Requests Using Fetch API 04:59 Static Methods: Promise.resolve and Promise.reject 04:48 Handling Multiple Asynchronous Operations 3 lectures • 14min Static Methods: Promise.all 04:43 How Promise.all Handles Rejections 03:34 Static Methods: Promise.race 05:56 Unit Testing Promises 4 lectures • 25min Setting Up the Testing Environment 03:53 Writing Unit Tests 09:25 Timeouts in Unit Tests 03:59 Multiple Assertions in One Test Case 08:11 Summary 2 lectures • 1min Summary 00:40 Bonus Lecture: Other Courses with Discounts 00:14 Requirements Basics of JavaScript Description My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises. JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code. Promises are widely used in all kinds of JavaScript applications. You definitely need to master this JavaScript feature, and this course will help you with that. After watching this course you will know when to use Promises and how to use them. Also, you will be able to work with different kinds of asynchronous JavaScript operations using Promises. Who this course is for: Everyone who wants to learn JavaScript Promises Show more Show less Instructor Viktor Pyskunov Senior Software Developer 4.6 Instructor Rating 4,344 Reviews 19,913 Students 4 Courses My name is Viktor and my goal is to help you understand stuff. I am a Senior Software Developer specializing in JavaScript and various technologies around it. I have been creating web applications for 12 years . During these years I acquired a lot of expertise in Software Development industry. Now I want to share my knowledge with you . I design my courses so they are easy to understand and to follow, and I update them regularly in order to keep them up-to-date . Show more Show less Udemy Business Teach on Udemy Get the app About us Contact us Careers Blog Help and Support Affiliate Impressum Kontakt Terms Privacy policy Cookie settings Sitemap © 2021 Udemy, Inc. window.handleCSSToggleButtonClick = function (event) { var target = event.currentTarget; var cssToggleId = target && target.dataset && target.dataset.cssToggleId; var input = cssToggleId && document.getElementById(cssToggleId); if (input) { if (input.dataset.type === 'checkbox') { input.dataset.checked = input.dataset.checked ? '' : 'checked'; } else { input.dataset.checked = input.dataset.allowToggle && input.dataset.checked ? '' : 'checked'; var radios = document.querySelectorAll('[name="' + input.dataset.name + '"]'); for (var i = 0; i (function(){window['__CF$cv$params']={r:'6778c5475b4706e9',m:'eae26fe47c90629cd02b1aa763a75d9091516aca-1627754892-1800-AfEKUJ2R//Ie0DDT27NHD3hOOWuWh6+8170kdUtYtLz8jD5v2WD93K3qSc+ZmSRxLhmFp0sVRnklIjGfwQgkQ6uBICR4tjpeKmvvW9D+sd9M7F5WOxe1blFE55/Hm09W7Paq8XU54f58F0KTS8ZK634=',s:[0x7597012d30,0x5f70629be2],}})();