Programmer DD
Jul 11, 2019 · Backend Development
Escaping Callback Hell: From Blocking Calls to Reactive Streams in Kotlin
This article explains the code types involved in synchronous remote calls, demonstrates how blocking IO leads to callback hell, and shows how to simplify the programming model using Java CompletableFuture, AsyncHttpClient, and Project Reactor’s reactive streams to efficiently retrieve city data.
AsyncHttpClientCompletableFutureKotlin
0 likes · 9 min read
