项目作者: uzzu

项目描述 :
Kotlin Coroutines helpers
高级语言: Kotlin
项目地址: git://github.com/uzzu/kortex.git
创建时间: 2019-01-04T05:53:12Z
项目社区:https://github.com/uzzu/kortex

开源协议:Apache License 2.0

下载


Coding Style Released Version

Kortex

Kotlin Coroutines helpers

Requirements

Kotlin 1.6.+

Setup

  1. implementation("co.uzzu.kortex:kortex:0.11.0")

or resolve manually without using gradle metadata

  1. // common project
  2. implementation("co.uzzu.kortex:kortex-common:0.11.0")
  3. // jvm project
  4. implementation("co.uzzu.kortex:kortex-jvm:0.11.0")
  5. // Android release project
  6. implementation("co.uzzu.kortex:kortex-android:0.11.0")
  7. // Android debug project
  8. 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