Package com.teamdev.jxbrowser.js
Interface JsPromiseHandler
- All Superinterfaces:
JsFunctionCallback
A
JsFunctionCallback
that is used as a JavaScript Promise
handler.
If the handler returns a result then the subsequent promise is fulfilled with this result. If the handler throws an exception then the subsequent promise is rejected with this exception. If the handler returns a promise, then a future result or error from this promise is passed to the subsequent promise.
- See Also:
-
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.js.JsFunctionCallback
invoke