Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The cost or drawback of utilizing additional thenApply methods in CompletableFutures is that it may increase the complexity and reduce the readability of the code. It can also increase the chain length and make it harder to debug and maintain the code. Additionally, adding too many thenApply methods may increase the overall execution time, as each additional method creates an additional step in the asynchronous process.