edgar-zigis / CoroutineRecipes

Playground for Kotlin Coroutines. Basics, Channels, Flows, useful examples & comparison to RxJava.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coroutine Recipes

Playground for Kotlin Coroutines.
Ready to use IntelliJ IDEA project with basic explanations.

* Basic async/launch comparisons
* Job/Deferred completion invocations & cancellations
* Context tests
* Basic & Supervisor scopes. Cancellation & exception handling.
* Concurrent & serial tasks. Comparison with RxJava.
* Critical section handling
* Resource access from different threads
* Channels, BroadcastChannels, ConflatedBroadcastChannels
* Channel buffers
* Differences between Channels and Flows
* Basic Flow operators
* State & Shared Flows
* Callback & Channel Flows

Project is under continuous development

About

Playground for Kotlin Coroutines. Basics, Channels, Flows, useful examples & comparison to RxJava.

License:Apache License 2.0


Languages

Language:Kotlin 100.0%