I need to interop with java code that returns a CompletableFuture. I want to call the thenRun method of CompletableFuture. I am not sure how to do it with clojure.
(.thenRun future ???)
(.thenApply future ???)
In general, how do you deal with functions defined in java.util.functions in clojure.