Skip to content

oldratlee/kotlin-coroutines-bottom-up

Repository files navigation

A Bottom-Up View of Kotlin Coroutines

Github Workflow Build Status Java support License

Complete runnable demo code of the article A Bottom-Up View of Kotlin Coroutines - Garth Gilmour / Eamonn Boyle,2020-01-11.

PS: My Chinese translation of this article.

Pre requirements

  • JDK 11+
  • JDK bundle with JavaFX

The simple way to install required JDK is using SDKMAN:

sdk install java 11.0.14.fx-zulu

Run Server

./mvnw compile -pl server exec:java -Dexec.mainClass=com.oldratlee.demo.koroutines_bottom_up.server.ServerMainKt

Run Client

./mvnw compile -pl client exec:java -Dexec.mainClass=com.oldratlee.demo.koroutines_bottom_up.client.MyAppKt