void function ( final Callable < ? > arg0 , int arg1 ) { Future < ? > loc0 = WaitForAsyncUtils . asyncFx ( arg0 ) ; WaitForAsyncUtils . waitFor ( arg1 , TimeUnit . SECONDS , loc0 ) ; WaitForAsyncUtils . waitForFxEvents ( ) ; }
runs the given callable in the javafx thread , waiting for it to complete before returning . also attempts to wait for any other javafx events that may have been queued in the callable to complete . if any exception is thrown during execution of the callable , that exception will be re-thrown from invokeandwait . concode_field_sep PlaceHolder placeHolder concode_field_sep void awaitCondition concode_elem_sep void awaitCondition concode_elem_sep void awaitEvents