Class JavascriptInvokeBackground
java.lang.Object
com.inductiveautomation.perspective.designer.workspace.JavascriptInvokeBackground
Helper class that invokes methods in the javascript side of the designer safely on a background thread, turning the
 results into a CompletableFuture
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionget()static CompletableFuture<JxValue>invoke(com.teamdev.jxbrowser.browser.Browser browser, String objectPath, String methodName, Object... args) static CompletableFuture<JxValue> 
- 
Method Details
- 
invoke
public static CompletableFuture<JxValue> invoke(@Nonnull com.teamdev.jxbrowser.browser.Browser browser, @Nonnull String objectPath, @Nonnull String methodName, @Nullable Object... args)  - 
invoke
public static CompletableFuture<JxValue> invoke(@Nonnull com.teamdev.jxbrowser.js.JsObject jsObject, String methodName, Object... args)  - 
get
 
 -