Interface Executor

All Known Implementing Classes:
ExecutorImpl

public interface Executor
  • Method Details

    • async

      <T> Promise<T> async(Callable<T> task)
      Async method
      Type Parameters:
      T - the promised value type
      Parameters:
      task - the task to be asynchronously executed
      Returns:
      a promise
    • async

      Async method
      Parameters:
      task - the task to be asynchronously executed
      Returns:
      a promise