Inter-Reactive Kotlin Applications

Kotlin coroutines is one of the major features of Eclipse Vert.x 3.5.

Most of us are used to writing interactive code and going the reactive way is not a trivial paradigm shift for everyone: programming using asynchronous APIs can be more challenging than using a direct synchronous style, in particular, if you have several operations that you want to do in sequence. Also, error propagation is often more complex when using asynchronous APIs.

With Kotlin, you can write inter-reactive Vert.x applications: perform asynchronous operations and receive events in a synchronous way. Inter-reactive allows you to work with asynchronous APIs, by using a direct synchronous style that you’re already familiar with.

A few weeks ago, the great opportunity to demonstrate how Vert.x and Kotlin coroutines are a great fit at KotlinConf 2017:

Take advantage of your Red Hat Developers membership and download RHEL today at no cost.

Join the Red Hat Developer Program (it’s free) and get access to related cheat sheets, books, and product downloads.