I am using Completable futures in java 8 and I want to write a method that, based on a received parameter, either runs multiple tasks with side effects in parallel and then
pass a null I guess:
null
CompletableFuture done = CompletableFuture.completedFuture(null);