Open rkpatra201 opened 2 years ago
List<String> response = futures.stream().map(e-> {
try {
return e.get();
} catch (InterruptedException ex) {
ex.printStackTrace();
} catch (ExecutionException ex) {
ex.printStackTrace();
}
return null;
}).collect(Collectors.toList());
@subrat-kumar-padhi