Package org.htmlunit.corejs.javascript
Class NativePromise.ResolvingFunctions
- java.lang.Object
-
- org.htmlunit.corejs.javascript.NativePromise.ResolvingFunctions
-
- Enclosing class:
- NativePromise
private static class NativePromise.ResolvingFunctions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private booleanalreadyResolved(package private) LambdaFunctionreject(package private) LambdaFunctionresolve
-
Constructor Summary
Constructors Constructor Description ResolvingFunctions(Scriptable topScope, NativePromise promise)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.Objectreject(Context cx, Scriptable scope, NativePromise promise, java.lang.Object reason)private java.lang.Objectresolve(Context cx, Scriptable scope, NativePromise promise, java.lang.Object resolution)
-
-
-
Field Detail
-
alreadyResolved
private boolean alreadyResolved
-
resolve
LambdaFunction resolve
-
reject
LambdaFunction reject
-
-
Constructor Detail
-
ResolvingFunctions
ResolvingFunctions(Scriptable topScope, NativePromise promise)
-
-
Method Detail
-
reject
private java.lang.Object reject(Context cx, Scriptable scope, NativePromise promise, java.lang.Object reason)
-
resolve
private java.lang.Object resolve(Context cx, Scriptable scope, NativePromise promise, java.lang.Object resolution)
-
-