Created
June 30, 2020 21:24
-
-
Save theboreddev/5d4ec41fe7b72a5ad206dc403c7e1462 to your computer and use it in GitHub Desktop.
executor
executor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final ExecutorService executor = Executors.newSingleThreadExecutor(); | |
| CompletableFuture.runAsync(task, executor); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment