- All Implemented Interfaces:
Executor
Asynchronous execution media
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExecutorImpl
Constructor
- Parameters:
executorService - The executor service used for asynchronous operation
-
Method Details
-
async
Description copied from interface: Executor
Async method
- Specified by:
async in interface Executor
- Type Parameters:
T - the promised value type
- Parameters:
task - the task to be asynchronously executed
- Returns:
- a promise
-
async
Description copied from interface: Executor
Async method
- Specified by:
async in interface Executor
- Parameters:
task - the task to be asynchronously executed
- Returns:
- a promise