restatedev / sdk-java

Restate SDK for JVM Languages
https://restate.dev
MIT License
23 stars 4 forks source link

Coroutines based `IngressClient` interface for kotlin #247

Closed slinkydeveloper closed 7 months ago

slinkydeveloper commented 7 months ago

The solution we will go on is to have a single CompletableFuture based IngressClient interface. In java we will generate a client interface with "sync" methods and "async" methods, while in kotlin we generate only the suspend fun, based on the CompletableFuture client.