Join Slack
Powered by
scala on the other hand works with the parent inte...
# coroutines
o
oshai
03/22/2017, 6:28 AM
scala on the other hand works with the parent interface: CompletionStage
https://github.com/scala/scala-java8-compat/blob/master/src/main/scala/scala/compat/java8/FutureConverters.scala
which looks on a first glimpse as a perferred approach?
o
okkero
03/22/2017, 8:08 AM
I came across this as well. Seems strange that Kotlin doesn't work on CompletionStage. I had to make an extension method to convert the CompletionStage to a CompletableFuture and call await on that.
3
Views
Open in Slack
Previous
Next