Asynchronous Programming Techniques with Kotlin

Written by dbarboza | Published 2020/05/29
Tech Story Tags: kotlin | asynchronous | java | reactive-programming | coding | programming | code-quality | software-engineering

TLDR An introduction to Kotlin coroutines compared to Futures/Promises. This is an attempt to fill that gap. The idea is to pick a simple made-up problem, implement it and compare it to other methods. Java’s CompletableFuture and Project Reactor are similar to the Futures and Promises approach used in Java. Kotlin's implementation is based on an e-commerce e-mail problem. The problem is to get the most recent order id from an HTTP endpoint and send this id to two other endpoints.via the TL;DR App

no story

Written by dbarboza | .
Published by HackerNoon on 2020/05/29