public class PromiseResolveThenableNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
PromiseResolveThenableNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static PromiseResolveThenableNode |
create(JSContext context) |
Object |
execute(JSPromiseObject promiseToResolve,
Object thenable,
JobCallback then) |
Object |
executePromiseConstructor(JSPromiseObject promise,
Object executor)
Calls the executor with the newly allocated promise's resolving functions.
|
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected PromiseResolveThenableNode(JSContext context)
public static PromiseResolveThenableNode create(JSContext context)
public Object executePromiseConstructor(JSPromiseObject promise, Object executor)
public Object execute(JSPromiseObject promiseToResolve, Object thenable, JobCallback then)