What is CompletableFuture?

A CompletableFuture is an extension to Java’s Future API which was introduced in Java 8 . A Future is used for asynchronous Programming. It provides two methods, isDone() and get(). The methods retrieve the result of the computation when it completes.

Sizin İçin Seçtik  Is MongoDB better than PostgreSQL?

Leave a Reply

Your email address will not be published. Required fields are marked *