File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/com/falsepattern/lib/util Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11package com .falsepattern .lib .util ;
22
3- import com .falsepattern .lib .StableAPI ;
43import com .falsepattern .lib .internal .Tags ;
54
65import java .util .concurrent .ExecutorService ;
109 * Asynchronous utilities. Notice: you should not abuse this for anything performance-sensitive.
1110 * The asynchronous worker exists primarily to run code independently of the main thread during loading.
1211 * You must make sure to solve any potential deadlocks yourself!
12+ *
13+ * //Deprecated since 0.9.0, removal in 0.10+: Use java-provided async tools instead. CompletableFuture is a nice one.
1314 */
14- @ StableAPI ( since = "0.8.0" )
15+ @ Deprecated
1516public class AsyncUtil {
1617 public static final ExecutorService asyncWorker = Executors .newSingleThreadExecutor ((runnable ) -> {
1718 Thread thread = new Thread (runnable );
You can’t perform that action at this time.
0 commit comments