Promise video introduction
02 minutes36 secondsIntroduction to Promises
05 minutes40 secondsFirst experience with Promise 01
09 minutes54 secondsFirst experience with Promise 02
03 minutes06 secondsfs read file
05 minutes03 secondsajax request
05 minutes48 secondsEncapsulate fs reading file operation
03 minutes47 secondsThe promisify method performs promise style conversion
03 minutes17 secondsPromise encapsulates AJAX requests
03 minutes58 secondsIntroduction to object status attributes
03 minutes48 secondsIntroduction to object result value attributes
02 minutes22 secondsPromise workflow
01 minutes33 secondsPromise API-constructor-then-catch
04 minutes54 secondsPromise.resolve method
04 minutes21 secondsPromise.reject method
02 minutes45 secondsPromise.all methods
03 minutes33 secondsPromise.race method
02 minutes50 secondsHow to modify the state of an object
02 minutes51 secondsCan multiple callbacks be executed?
02 minutes37 secondsIssues with the order of changing status and specifying callbacks
07 minutes04 secondsWhat determines the result returned by the then method?
05 minutes17 secondsChain multiple tasks
04 minutes22 secondsabnormal penetration
03 minutes25 secondsHow to terminate a promise chain
02 minutes41 secondsInitial structure building
04 minutes19 secondsResolve and regect structure construction
04 minutes35 secondsresolve and regect code implementation
05 minutes59 secondsThtow throws exception to change state
03 minutes48 secondsThe state of a Promise object can only be modified once
03 minutes03 secondsthen method executes callback
05 minutes14 secondsExecution of asynchronous task callbacks
08 minutes10 secondsSpecify multiple callback implementations
05 minutes06 secondsSynchronously modify the status then method result return
09 minutes42 secondsAsynchronously modify the status then method result return
12 minutes44 secondsthen method improvement and optimization
07 minutes45 secondscatch method - exception penetration and value passing
10 minutes16 secondsresolve method encapsulation
04 minutes36 secondsreject method encapsulation
02 minutes14 secondsall method encapsulation
09 minutes59 secondsrace method encapsulation
05 minutes04 secondsAsynchronous execution of then method callback
04 minutes09 secondsImplementation of class version
05 minutes22 secondsasync function
03 minutes56 secondsawait expression
05 minutes00 secondsCombining async and await in practice
05 minutes10 secondsasync and await combined to send ajax request
03 minutes02 seconds