Skip to content

Commit afe7eac

Browse files
authored
Update README.md
1 parent d8f7db7 commit afe7eac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,15 +616,13 @@ httpRequest.raw()
616616

617617
It’s not mandatory to use any specific subclasses of `Executor` with `CompletableTask` – you may use any implementation. However, someone may find beneficial to have a `Promise`-aware `ExecutorService` API. Below is a list of related classes/interfaces:
618618

619-
a. Interface `TaskExecutorService`
620-
619+
a. Interface `TaskExecutorService`
621620
Specialization of [ExecutorService](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html) that uses `Promise` as a result of `submit(...)` methods.
622621

623622
b. Class `ThreadPoolTaskExecutor`
624623
A subclass of the standard [ThreadPoolExecutor](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadPoolExecutor.html) that implements `TaskExecutorService` interface.
625624

626625
c. Class `TaskExecutors`
627-
628626
A drop-in replacement for [Executors](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executors.html) utility class that returns various useful implementations of `TaskExecutorService` instead of the standard [ExecutorService](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html).
629627

630628
# Acknowledgements

0 commit comments

Comments
 (0)