Thanks to visit codestin.com
Credit goes to github.com

Skip to content

uzzu/kortex

Repository files navigation

Coding Style Released Version

Kortex

Kotlin Coroutines helpers

Requirements

Kotlin 1.6.+

Setup

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")

Features

hot-launching

See more examples

Pseudo hot-stream Flow with key cached

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.

See more examples

Deferred action after mutex unlocked

Deferred action after mutex unlocked, by using MutexContext#defer . See more examples

(Deprecated since 0.6.0, deleted since 0.9.0) hot-invocation for suspending function

Please migrate to Pseudo hot-stream Flow with key cached feature. It can be used to suspending function.

License

Apache 2.0 license

About

Kotlin Coroutines helpers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages