wix/greyhound

Kotlin DSL

OneCricketeer opened this issue · 4 comments

Hi again!

Any possibility there would be ever be a Kotlin library or DSL to use?

Well the underlying core code is written in Scala.
But we managed to create a wrapper API with mixed Scala/Java code that can easily be called from Java code.
So I think it can already be called from Kotlin code due to Java/Kotlin great interoperability.

There may be an issue with async API. Do you know what's the equivalent of Java's CompletableFuture in Kotlin? If it's usable directly than no problem here

I used Kotlin with the Java interop and it works fine but can get messy with the exception handling code.

Can you please elaborate a bit on the issue with exception handling code.