paint-brush
Asynchronous Programming Techniques with Kotlinby@dbarboza
5,260 reads
5,260 reads

Asynchronous Programming Techniques with Kotlin

by Danilo Barboza6mMay 29th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Asynchronous Programming Techniques with Kotlin
Danilo Barboza HackerNoon profile picture
Danilo Barboza

Danilo Barboza

@dbarboza

.

About @dbarboza
LEARN MORE ABOUT @DBARBOZA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Danilo Barboza HackerNoon profile picture
Danilo Barboza@dbarboza
.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite