kotest-assertions / io.kotest / whenReady
whenReady
fun <A> whenReady(f: CompletableFuture<A>, test: (A) -> Unit): Unit
Deprecated: use the extension function variant: future.whenReady { } which uses coroutines rather than blocking. This will be removed in 4.1
Allows callers to queue up futures with a callback that will be executed
when the future has completed.