Class AsyncExecutor

java.lang.Object
mc.core.domain.i18n.text.work.AsyncExecutor

public class AsyncExecutor extends Object
  • Method Details

    • isExecutorThread

      public boolean isExecutorThread()
      check if current thread is an executor thread
    • onCommit

      public Future<Void> onCommit(Runnable runnable)
    • execute

      public Future<Void> execute(Runnable runnable)
    • execute

      public <T> Future<T> execute(Supplier<T> supplier)