/CoroutineRecipes

Playground for Kotlin Coroutines

Primary LanguageKotlinApache License 2.0Apache-2.0

Coroutine Recipes

Playground for Kotlin Coroutines

* 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