calls the given callable on the javafx application thread at some unspecified timein the future and returns a future that is set on finish or error . concode_field_sep long CONDITION_SLEEP_IN_MILLIS concode_elem_sep int SEMAPHORE_LOOPS_COUNT concode_elem_sep long SEMAPHORE_SLEEP_IN_MILLIS concode_field_sep void sleep concode_elem_sep T waitForMillis concode_elem_sep Future<Void> async concode_elem_sep Future<T> async concode_elem_sep boolean callConditionAndReturnResult concode_elem_sep void runOnThread concode_elem_sep void runOnFxThread concode_elem_sep void callCallableAndSetFuture concode_elem_sep void waitForFxEvents concode_elem_sep void waitForFxEvents concode_elem_sep void waitForAsyncFx concode_elem_sep T waitForAsyncFx concode_elem_sep void blockFxThreadWithSemaphore concode_elem_sep T waitFor concode_elem_sep T waitFor concode_elem_sep void waitFor concode_elem_sep void waitFor concode_elem_sep void waitForAsync concode_elem_sep T waitForAsync
Future < T > function ( Callable < T > arg0 ) { SettableFuture < T > loc0 = SettableFuture . create ( ) ; runOnFxThread ( ( ) -> callCallableAndSetFuture ( arg0 , loc0 ) ) ; return loc0 ; }