Class NativePromise.ResolvingFunctions
java.lang.Object
org.mozilla.javascript.NativePromise.ResolvingFunctions
- Enclosing class:
NativePromise
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
(package private) LambdaFunction
(package private) LambdaFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Object
reject
(Context cx, Scriptable scope, NativePromise promise, Object reason) private Object
resolve
(Context cx, Scriptable scope, NativePromise promise, Object resolution)
-
Field Details
-
alreadyResolved
private boolean alreadyResolved -
resolve
LambdaFunction resolve -
reject
LambdaFunction reject
-
-
Constructor Details
-
ResolvingFunctions
ResolvingFunctions(Scriptable topScope, NativePromise promise)
-
-
Method Details
-
reject
-
resolve
-