1 min readSep 10, 2018
Datkins, The ‘executor’ is the reference for the worker thread pool. The supplyAsync() method has a overloaded version as follows.
public static <U> CompletableFuture<U> supplyAsync(Supplier<U> supplier, Executor executor)
Hope this helps.