@FunctionalInterface public interface Thenable
| Modifier and Type | Method and Description |
|---|---|
void |
then(org.graalvm.polyglot.Value onResolve,
org.graalvm.polyglot.Value onReject)
After some event "then" call one of the argument functions.
|
void then(org.graalvm.polyglot.Value onResolve,
org.graalvm.polyglot.Value onReject)
onResolve - an optional function to be executed on success (resolve)onReject - an optional function to be executed on failure (reject)Copyright © 2019. All rights reserved.