AsyncResult < T > function ( final AsyncTask < T > arg0 ) { if ( executor . isShutdown ( ) ) { throw new GdxRuntimeException ( "srini_string" ) ; } return new AsyncResult ( executor . submit ( new Callable < T > ( ) { @ Override public T call ( ) throws Exception { return arg0 . call ( ) ; } } ) ) ; }
submits a runnable to be executed asynchronously . if maxconcurrent runnables are already running , the runnable willbe queued . concode_field_sep ExecutorService executor concode_field_sep void dispose