Next Section: 解决回调地狱737 plays

5 秒后自动播放下一节
  Watch Again

The best Promise tutorial to understand

Introduction >
ChapterCourseware
Chapter1Chapter One

callback hell

15 minutes12 seconds

promise status

17 minutes56 seconds

result of promise

04 minutes40 seconds

parameters of then method

09 minutes10 seconds

then method gets data

07 minutes28 seconds
Chapter2Chapter two

then method return value

09 minutes31 seconds

Returns the status change of the instance

16 minutes36 seconds

catch method

10 minutes24 seconds

Solving callback hell

14 minutes56 seconds

Optimize code

07 minutes16 seconds
  • CancelreplySending
  • Cancelpost a noteSending