Kotlin Coroutines helpers
Kotlin 1.6.+
implementation("co.uzzu.kortex:kortex:0.11.0")
or resolve manually without using gradle metadata
// common project
implementation("co.uzzu.kortex:kortex-common:0.11.0")
// jvm project
implementation("co.uzzu.kortex:kortex-jvm:0.11.0")
// Android release project
implementation("co.uzzu.kortex:kortex-android:0.11.0")
// Android debug project
implementation("co.uzzu.kortex:kortex-android-debug:0.11.0")
It works like publish().refcount()
in RxJava, and caches the Flow instance by key string, so you can use a hot-stream considering the change of arguments.
Deferred action after mutex unlocked, by using MutexContext#defer
.
See more examples
Please migrate to Pseudo hot-stream Flow with key cached feature. It can be used to suspending function.