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 boolean
alreadyResolved
(package private) LambdaFunction
reject
(package private) LambdaFunction
resolve
-
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.Object
reject(Context cx, Scriptable scope, NativePromise promise, java.lang.Object reason)
private java.lang.Object
resolve(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)
-
-