testgist
public void test0(){
CompletableFuture.runAsync(this::sendReport);
}
public void test1(){
CompletableFuture.supplyAsync(this::sendMsg);
}
private String sendMsg() {
return "on going";
}
private void sendReport() {
System.out.println("on going");
}