How to execute a group of tasks

Someone on the channel today asked about how to run a series of tasks, with a terminal condition of sorts. Basically, they wanted to run a number of tasks, and know when they were done. The question was originally built around having a List of results (List<integer>, maybe?), counting the number of results until the number of results matched the number of tasks. The channel suggested using an ExecutorService, particularly the shutdown...

3 minute(s) read