Package dev.booky.betterview.api
Interface BvExecutor
- All Superinterfaces:
Executor
This executor targets only a single thread to ensure thread-safety
for API access. The underlying executor may (or may not) immediately run scheduled
Runnable's if the current thread is already correct.-
Method Summary
-
Method Details
-
isSameThread
@Contract(pure=true) boolean isSameThread()- Returns:
- whether this method is called on the correct thread already.
-