how do i convert `CompletableFuture<T>` to `...
# coroutines
l
how do i convert
CompletableFuture<T>
to
Deferred<T>
using kotlinx.coroutines ?
l
oh so its jdk8 only?
d
CompletableFuture
is a part of JDK 8, so yeah
l
is this a separate maven/gradle package ?
d
Yes.
l
well whats the import path
i cant find it
d
https://github.com/Kotlin/kotlinx.coroutines/tree/master/integration/kotlinx-coroutines-jdk8 Says "Module name below corresponds to the artifact name in Maven/Gradle."
l
thanks
Module name below corresponds to the artifact name in Maven/Gradle
where does it say that? am i blind?
d
I linked it ­čśë