kotest-assertions / io.kotest

Package io.kotest

Extensions for External Classes

java.util.concurrent.CompletableFuture

Functions

whenReady

Allows callers to queue up futures with a callback that will be executed when the future has completed.

fun <A> whenReady(f: CompletableFuture<A>, test: (A) -> Unit): Unit