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 1
1
package com .falsepattern .lib .util ;
2
2
3
- import com .falsepattern .lib .StableAPI ;
4
3
import com .falsepattern .lib .internal .Tags ;
5
4
6
5
import java .util .concurrent .ExecutorService ;
10
9
* Asynchronous utilities. Notice: you should not abuse this for anything performance-sensitive.
11
10
* The asynchronous worker exists primarily to run code independently of the main thread during loading.
12
11
* 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.
13
14
*/
14
- @ StableAPI ( since = "0.8.0" )
15
+ @ Deprecated
15
16
public class AsyncUtil {
16
17
public static final ExecutorService asyncWorker = Executors .newSingleThreadExecutor ((runnable ) -> {
17
18
Thread thread = new Thread (runnable );
You can’t perform that action at this time.
0 commit comments