27.1.4.3 Properties of Async-from-Sync Iterator Instances
27.1.4.4 AsyncFromSyncIteratorContinuation (
result
,
promiseCapability
)
27.2 Promise Objects
27.2.1 Promise Abstract Operations
27.2.1.1 PromiseCapability Records
27.2.1.1.1 IfAbruptRejectPromise (
value
,
capability
)
27.2.1.2 PromiseReaction Records
27.2.1.3 CreateResolvingFunctions (
promise
)
27.2.1.3.1 Promise Reject Functions
27.2.1.3.2 Promise Resolve Functions
27.2.1.4 FulfillPromise (
promise
,
value
)
27.2.1.5 NewPromiseCapability (
C
)
27.2.1.5.1 GetCapabilitiesExecutor Functions
27.2.1.6 IsPromise (
x
)
27.2.1.7 RejectPromise (
promise
,
reason
)
27.2.1.8 TriggerPromiseReactions (
reactions
,
argument
)
27.2.1.9 HostPromiseRejectionTracker (
promise
,
operation
)
27.2.2 Promise Jobs
27.2.2.1 NewPromiseReactionJob (
reaction
,
argument
)
27.2.2.2 NewPromiseResolveThenableJob (
promiseToResolve
,
thenable
,
then
)
27.2.3 The Promise Constructor
27.2.3.1 Promise (
executor
)
27.2.4 Properties of the Promise Constructor
27.2.4.1 Promise.all (
iterable
)
27.2.4.1.1 GetPromiseResolve (
promiseConstructor
)
27.2.4.1.2 PerformPromiseAll (
iteratorRecord
,
constructor
,
resultCapability
,
promiseResolve
)
27.2.4.1.3
Promise.all
Promise.all
Resolve Element Functions
27.2.4.2 Promise.allSettled (
iterable
)
27.2.4.2.1 PerformPromiseAllSettled (
iteratorRecord
,
constructor
,
resultCapability
,
promiseResolve
)
27.2.4.2.2
Promise.allSettled
Promise.allSettled
Resolve Element Functions
27.2.4.2.3
Promise.allSettled
Promise.allSettled
Reject Element Functions
27.2.4.3 Promise.any (
iterable
)
27.2.4.3.1 PerformPromiseAny (
iteratorRecord
,
constructor
,
resultCapability
,
promiseResolve
)
27.2.4.3.2
Promise.any
Promise.any
Reject Element Functions
27.2.4.4 Promise.prototype
27.2.4.5 Promise.race (
iterable
)
27.2.4.5.1 PerformPromiseRace (
iteratorRecord
,
constructor
,
resultCapability
,
promiseResolve
)
27.2.4.6 Promise.reject (
r
)
27.2.4.7 Promise.resolve (
x
)
27.2.4.7.1 PromiseResolve (
C
,
x
)
27.2.4.8 get Promise [ @@species ]
27.2.5 Properties of the Promise Prototype Object
27.2.5.1 Promise.prototype.catch (
onRejected
)
27.2.5.2 Promise.prototype.constructor
27.2.5.3 Promise.prototype.finally (
onFinally
)
27.2.5.3.1 Then Finally Functions
27.2.5.3.2 Catch Finally Functions
27.2.5.4 Promise.prototype.then (
onFulfilled
,
onRejected
)
38